diff --git a/README.txt b/README.md
similarity index 100%
rename from README.txt
rename to README.md
diff --git a/components/element-standard.php b/components/element-standard.php
index 17352d6..af35ad4 100755
--- a/components/element-standard.php
+++ b/components/element-standard.php
@@ -8,7 +8,8 @@
*/
?>>
- ', '' ); ?>
- ';
foreach ( $tags as $tag ) {
- $sep = (end( $tags ) === $tag) ? '' : ', ';
+ $sep = ( end( $tags ) === $tag ) ? '' : ', ';
echo '#' . esc_html( $tag->name ) . '' . esc_html( $sep );
}
echo '
';
-} ?>
+ }
+?>
diff --git a/components/module-newsfeed.php b/components/module-newsfeed.php
index 40e712f..0ed5ba8 100644
--- a/components/module-newsfeed.php
+++ b/components/module-newsfeed.php
@@ -11,13 +11,15 @@
$taxonomies = get_field( 'newsfeed' );
-$posts = get_posts(array(
- 'posts_per_page' => 4,
- 'category' => $taxonomies,
- 'orderby' => 'date',
- 'order' => 'DESC',
- 'post_status' => 'publish',
-));
+$posts = get_posts(
+ array(
+ 'posts_per_page' => 4,
+ 'category' => $taxonomies,
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ 'post_status' => 'publish',
+ )
+);
$count = count( $posts );
if ( $taxonomies && $count >= 4 ) {
diff --git a/functions.php b/functions.php
index 1680ebd..d05f5f5 100755
--- a/functions.php
+++ b/functions.php
@@ -21,7 +21,8 @@ function uwcde_website_enqueue_styles() {
$parent_style = 'parent-style';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
- wp_enqueue_style( 'child-style',
+ wp_enqueue_style(
+ 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get( 'Version' )
diff --git a/languages/de_DE.mo b/languages/de_DE.mo
index 6d18360..0fa0683 100644
Binary files a/languages/de_DE.mo and b/languages/de_DE.mo differ
diff --git a/languages/de_DE.po b/languages/de_DE.po
index faa60ec..6a5d9e3 100644
--- a/languages/de_DE.po
+++ b/languages/de_DE.po
@@ -4,20 +4,18 @@ msgid ""
msgstr ""
"Project-Id-Version: uwcde-website\n"
"Report-Msgid-Bugs-To: https://github.com/uwc/uwcde-website/issues\n"
-"POT-Creation-Date: \n"
-"PO-Revision-Date: 2016-12-28 16:20+0100\n"
-"Last-Translator: Connor Bär \n"
-"Language-Team: Made by Connor. \n"
-"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2016-11-23 09:50+0000\n"
+"Language-Team: Made by Connor. \n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
-"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
-"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
+"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.11\n"
+"POT-Creation-Date: \n"
+"X-Generator: Poedit 1.8.8\n"
+"Last-Translator: Connor Bär \n"
+"Language: de_DE\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
diff --git a/languages/uwcde-website.pot b/languages/uwcde-website.pot
index 40fbf2d..abcf9db 100644
--- a/languages/uwcde-website.pot
+++ b/languages/uwcde-website.pot
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 uwcde-website
+# Copyright (C) 2018 uwcde-website
# This file is distributed under the same license as the uwcde-website package.
msgid ""
msgstr ""
@@ -7,8 +7,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Connor Bär \n"
+"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Connor Bär \n"
"Language-Team: Made by Connor. \n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-SourceCharset: UTF-8\n"
diff --git a/readme.md b/readme.txt
similarity index 60%
rename from readme.md
rename to readme.txt
index dfabb94..f4f2646 100755
--- a/readme.md
+++ b/readme.txt
@@ -8,14 +8,12 @@ A WordPress theme for [UWC Germany](https://uwc.de)
> This is a child theme of [UWC Website](https://github.com/uwc/uwc-website).
-
# Contents
-- [Overview](#Overview)
-- [Installation](#Installation)
-- [Contribute](#Contribute)
-- [Copyright](#Copyright)
-
+* [Overview](#Overview)
+* [Installation](#Installation)
+* [Contribute](#Contribute)
+* [Copyright](#Copyright)
# Overview
@@ -23,31 +21,28 @@ Contributors: [Connor Bär](http://madebyconnor.de)
Requires at least: WordPress 4.4
-Tested up to: WordPress 4.6.1
+Tested up to: WordPress 4.9.2
-Version: 1.3.3
+Version: 1.3.5
License: [GPL-3.0](#Copyright)
Tags: custom-menu, editor-style, featured-image-header, featured-images, post-formats, sticky-post, theme-options, education, translation-ready
-
# Installation
-*This theme can only be installed on self-hosted WordPress installations and not on sites that are hosted on wordpress.com.* I provide managed hosting for UWC websites. Drop me a line at [hello@madebyconnor.io](mailto:hello@madebyconnor.io) if you're interested.
-
-1. UWCde Website is not listed publicly on wordpress.org. Therefore you have to install the [GitHub Updater](https://github.com/afragen/github-updater) plugin to install the theme and receive future updates. Follow the instructions in the [readme file](https://github.com/afragen/github-updater#upload) to install the plugin, then come back here.
-2. In WordPress, navigate to 'Settings' > 'GitHub Updater', then select 'Install Theme' from the tabs at the top.
-3. Paste the url `https://github.com/uwc/uwcde-website` into the field 'Theme URI'. You can leave the other fields as they are and click on the 'Install Theme' button.
-4. Click on the 'Activate' button to use your new theme right away.
-5. Go to the [UWC Documentation](https://docs.uwc.io) for a guide on how to use this theme.
-6. Navigate to Appearance > Customize in your admin panel and customize to taste.
+_This theme can only be installed on self-hosted WordPress installations and not on sites that are hosted on wordpress.com._ I provide managed hosting for UWC websites. Drop me a line at [hello@madebyconnor.io](mailto:hello@madebyconnor.io) if you're interested.
+1. UWCde Website is not listed publicly on wordpress.org. Therefore you have to install the [GitHub Updater](https://github.com/afragen/github-updater) plugin to install the theme and receive future updates. Follow the instructions in the [readme file](https://github.com/afragen/github-updater#upload) to install the plugin, then come back here.
+2. In WordPress, navigate to 'Settings' > 'GitHub Updater', then select 'Install Theme' from the tabs at the top.
+3. Paste the url `https://github.com/uwc/uwcde-website` into the field 'Theme URI'. You can leave the other fields as they are and click on the 'Install Theme' button.
+4. Click on the 'Activate' button to use your new theme right away.
+5. Go to the [UWC Documentation](https://docs.uwc.io) for a guide on how to use this theme.
+6. Navigate to Appearance > Customize in your admin panel and customize to taste.
# Contribute
-Interested in contributing to the development of this theme? I look forward to your pull requests und issues. Or drop me a line at [hello@connorbaer.io](mailto:hello@connorbaer.io).
-
+Interested in contributing to the development of this theme? I look forward to your pull requests und issues. Or drop me a line at [hello@connorbaer.co](mailto:hello@connorbaer.co).
# Copyright
diff --git a/screenshot.jpg b/screenshot.jpg
index 3d46130..c4b98ff 100644
Binary files a/screenshot.jpg and b/screenshot.jpg differ
diff --git a/style.css b/style.css
index 2de4396..c455c2f 100755
--- a/style.css
+++ b/style.css
@@ -1,11 +1,11 @@
/*!
Theme name: uwcde-website
Theme URI: https://github.com/uwc/uwcde-website
-Author: Connor Bär
+Author: Connor Bär
Author URI: http://madebyconnor.co
Description: An open-source WordPress child theme for UWC Germany.
Template: uwc-website
-Version: 1.3.4
+Version: 1.3.5
License: GPL-3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Tags: custom-menu,editor-style,featured-image-header,featured-images,post-formats,sticky-post,theme-options,education,translation-ready