From 79d7fcad31ef2d2496992272b791a9ae44af17ec Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 18 Apr 2018 12:49:55 -0400 Subject: [PATCH] Also fixed category and tag links on single posts See previous commit; the slugs were used for links at the footer of posts, which would break with Uncategorized categories. --- header.php | 2 +- single.php | 4 ++-- style.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/header.php b/header.php index 74ed70f..4e6c3c3 100644 --- a/header.php +++ b/header.php @@ -4,7 +4,7 @@ <?php wp_title(); ?> - + diff --git a/single.php b/single.php index f6e2a59..924d3a9 100644 --- a/single.php +++ b/single.php @@ -32,7 +32,7 @@ foreach($post_categories as $c){ $cat = get_category( $c ); $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug ); - echo ''. $cat->name .', '; + echo ''. $cat->name .', '; } } $post_tags = wp_get_post_tags( get_the_ID() ); @@ -42,7 +42,7 @@ foreach($post_tags as $t){ $tag = get_tag( $t ); $tags[] = array( 'name' => $tag->name, 'slug' => $tag->slug ); - echo ''. $tag->name .', '; + echo ''. $tag->name .', '; } } echo ' on '; diff --git a/style.css b/style.css index 4800b75..03561f6 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: WesternUPCVB Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for WesternUPCVB -Version: 1.1.8 +Version: 1.1.9 */ -- 2.17.1