Also fixed footer links for posts in Archive.php
authorLaury GvR <laury@gaslightmedia.com>
Wed, 18 Apr 2018 16:56:55 +0000 (12:56 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 18 Apr 2018 16:56:55 +0000 (12:56 -0400)
archive.php
header.php
style.css

index b97b899..fe0985d 100644 (file)
                                         echo 'in';
                                         foreach($post_categories as $c){
                                             $cat = get_category( $c );
+                                            if ( $c !== reset( $post_categories ) ) {
+                                                echo ",";
+                                            }
                                             $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
-                                            echo ', <a rel="category" title="View all posts in '. $cat->name . ' " href="'. $cat->slug .'">'. $cat->name .'</a>';
+                                            echo ' <a rel="category" title="View all posts in '. $cat->name . ' " href="'. get_category_link( $cat->term_id ) .'">'. $cat->name .'</a>';
                                         }
                                         echo '.';
                                     }
index 4e6c3c3..5036b3f 100644 (file)
@@ -4,7 +4,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.1.9">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.1.10">
     <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,700' rel='stylesheet' type='text/css'>
     <?php wp_head(); ?>
index 03561f6..7aa82d8 100644 (file)
--- 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.9
+Version: 1.1.10
 */