Skip to content

Commit fe575ec

Browse files
committed
Bump version to 1.3.5.
1 parent b157dc3 commit fe575ec

File tree

10 files changed

+44
-45
lines changed

10 files changed

+44
-45
lines changed

README.txt renamed to README.md

File renamed without changes.

components/element-standard.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
*/
99

1010
?><article id="post-<?php the_ID(); ?>" <?php post_class( 'category-post' ); ?>>
11-
<?php if ( get_field( 'feed_image' ) ) :
11+
<?php
12+
if ( get_field( 'feed_image' ) ) :
1213
$image = get_field( 'feed_image' );
1314
$size = 'medium';
1415
$url = $image['sizes'][ $size ];
@@ -27,14 +28,16 @@
2728
<?php the_title( '<h2 class="category-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); ?>
2829
</header>
2930

30-
<?php if ( $tags = get_the_tags() ) {
31+
<?php
32+
if ( $tags = get_the_tags() ) {
3133
echo '<p class="category-tags">';
3234
foreach ( $tags as $tag ) {
33-
$sep = (end( $tags ) === $tag) ? '' : ', ';
35+
$sep = ( end( $tags ) === $tag ) ? '' : ', ';
3436
echo '<a href="' . esc_url( get_term_link( $tag, $tag->taxonomy ) ) . '">#' . esc_html( $tag->name ) . '</a>' . esc_html( $sep );
3537
}
3638
echo '</p>';
37-
} ?>
39+
}
40+
?>
3841

3942
<p class="category-body"><?php the_excerpt(); ?></p>
4043

components/module-newsfeed.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111

1212
$taxonomies = get_field( 'newsfeed' );
1313

14-
$posts = get_posts(array(
15-
'posts_per_page' => 4,
16-
'category' => $taxonomies,
17-
'orderby' => 'date',
18-
'order' => 'DESC',
19-
'post_status' => 'publish',
20-
));
14+
$posts = get_posts(
15+
array(
16+
'posts_per_page' => 4,
17+
'category' => $taxonomies,
18+
'orderby' => 'date',
19+
'order' => 'DESC',
20+
'post_status' => 'publish',
21+
)
22+
);
2123
$count = count( $posts );
2224

2325
if ( $taxonomies && $count >= 4 ) {

functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ function uwcde_website_enqueue_styles() {
2121
$parent_style = 'parent-style';
2222

2323
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
24-
wp_enqueue_style( 'child-style',
24+
wp_enqueue_style(
25+
'child-style',
2526
get_stylesheet_directory_uri() . '/style.css',
2627
array( $parent_style ),
2728
wp_get_theme()->get( 'Version' )

languages/de_DE.mo

-1 Bytes
Binary file not shown.

languages/de_DE.po

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,18 @@ msgid ""
44
msgstr ""
55
"Project-Id-Version: uwcde-website\n"
66
"Report-Msgid-Bugs-To: https://github.com/uwc/uwcde-website/issues\n"
7-
"POT-Creation-Date: \n"
8-
"PO-Revision-Date: 2016-12-28 16:20+0100\n"
9-
"Last-Translator: Connor Bär <[email protected]>\n"
10-
"Language-Team: Made by Connor. <[email protected]>\n"
11-
"Language: de_DE\n"
127
"MIME-Version: 1.0\n"
138
"Content-Type: text/plain; charset=UTF-8\n"
149
"Content-Transfer-Encoding: 8bit\n"
10+
"PO-Revision-Date: 2016-11-23 09:50+0000\n"
11+
"Language-Team: Made by Connor. <[email protected]>\n"
1512
"X-Poedit-Basepath: ..\n"
1613
"X-Poedit-SourceCharset: UTF-8\n"
17-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
18-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
19-
"_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
14+
"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"
2015
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
21-
"X-Generator: Poedit 1.8.11\n"
16+
"POT-Creation-Date: \n"
17+
"X-Generator: Poedit 1.8.8\n"
18+
"Last-Translator: Connor Bär <[email protected]>\n"
19+
"Language: de_DE\n"
2220
"X-Poedit-SearchPath-0: .\n"
2321
"X-Poedit-SearchPathExcluded-0: *.js\n"

languages/uwcde-website.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2016 uwcde-website
1+
# Copyright (C) 2018 uwcde-website
22
# This file is distributed under the same license as the uwcde-website package.
33
msgid ""
44
msgstr ""
@@ -7,8 +7,8 @@ msgstr ""
77
"MIME-Version: 1.0\n"
88
"Content-Type: text/plain; charset=UTF-8\n"
99
"Content-Transfer-Encoding: 8bit\n"
10-
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
11-
"Last-Translator: Connor Bär <hello@connorbaer.io>\n"
10+
"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
11+
"Last-Translator: Connor Bär <hello@connorbaer.co>\n"
1212
"Language-Team: Made by Connor. <[email protected]>\n"
1313
"X-Poedit-Basepath: ..\n"
1414
"X-Poedit-SourceCharset: UTF-8\n"

readme.md renamed to readme.txt

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,41 @@ A WordPress theme for [UWC Germany](https://uwc.de)
88

99
> This is a child theme of [UWC Website](https://github.com/uwc/uwc-website).
1010

11-
1211
# Contents
1312

14-
- [Overview](#Overview)
15-
- [Installation](#Installation)
16-
- [Contribute](#Contribute)
17-
- [Copyright](#Copyright)
18-
13+
* [Overview](#Overview)
14+
* [Installation](#Installation)
15+
* [Contribute](#Contribute)
16+
* [Copyright](#Copyright)
1917

2018
# Overview
2119

2220
Contributors: [Connor Bär](http://madebyconnor.de)
2321

2422
Requires at least: WordPress 4.4
2523

26-
Tested up to: WordPress 4.6.1
24+
Tested up to: WordPress 4.9.2
2725

28-
Version: 1.3.3
26+
Version: 1.3.5
2927

3028
License: [GPL-3.0](#Copyright)
3129

3230
Tags: custom-menu, editor-style, featured-image-header, featured-images, post-formats, sticky-post, theme-options, education, translation-ready
3331

34-
3532
# Installation
3633

37-
*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 [[email protected]](mailto:[email protected]) if you're interested.
38-
39-
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.
40-
2. In WordPress, navigate to 'Settings' > 'GitHub Updater', then select 'Install Theme' from the tabs at the top.
41-
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.
42-
4. Click on the 'Activate' button to use your new theme right away.
43-
5. Go to the [UWC Documentation](https://docs.uwc.io) for a guide on how to use this theme.
44-
6. Navigate to Appearance > Customize in your admin panel and customize to taste.
34+
_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 [[email protected]](mailto:[email protected]) if you're interested.
4535

36+
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.
37+
2. In WordPress, navigate to 'Settings' > 'GitHub Updater', then select 'Install Theme' from the tabs at the top.
38+
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.
39+
4. Click on the 'Activate' button to use your new theme right away.
40+
5. Go to the [UWC Documentation](https://docs.uwc.io) for a guide on how to use this theme.
41+
6. Navigate to Appearance > Customize in your admin panel and customize to taste.
4642

4743
# Contribute
4844

49-
Interested in contributing to the development of this theme? I look forward to your pull requests und issues. Or drop me a line at [[email protected]](mailto:[email protected]).
50-
45+
Interested in contributing to the development of this theme? I look forward to your pull requests und issues. Or drop me a line at [[email protected]](mailto:[email protected]).
5146

5247
# Copyright
5348

screenshot.jpg

-2.76 KB
Loading

style.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)