Adjust general blog title for Press Release posts
authorLaury GvR <laury@gaslightmedia.com>
Tue, 20 Aug 2019 23:21:34 +0000 (19:21 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 20 Aug 2019 23:21:34 +0000 (19:21 -0400)
single.php

index 74f935f..d678676 100644 (file)
         <div id="blog-posts-over" class="ai1ec-post small-12 medium-10 medium-centered columns">
         <?php } else { ?>
         <div id="blog-posts-over" class="small-12 medium-9 columns">
-            <h1>Sault Ste Marie's Blog</h1>
+                        
+            <?php if ( is_category(219) || ( is_single() && has_category(219) ) ) { ?>
+                <h1>Press Releases</h1>
+            <?php } else { ?>
+                <h1>Sault Ste Marie's Blog</h1>
+            <?php } ?>
         <?php } ?>
             <?php if(have_posts()) : while(have_posts()): the_post();?>
             <div class="row blog-post-container">