<div class="row">
<div id="blog-posts-over" class="small-12 medium-9 columns">
- <h1>Sault Ste Marie's Blog</h1>
+
+ <?php if (is_category(219)) { ?>
+ <h1>Press Releases</h1>
+ <?php } else { ?>
+ <h1>Sault Ste Marie's Blog</h1>
+ <?php } ?>
<?php if(have_posts()) : while(have_posts()): the_post();?>
<div class="row content blog-posts-container">
<!--<div class="small-11 small-centered columns"> -->
<p>Recent Posts</p>
<ul>
<?php
- $args = array( 'numberposts' => '5', 'post_status' => 'publish', 'exclude' => 158 );
+ $args = array( 'numberposts' => '5', 'post_status' => 'publish', 'exclude' => 219 );
$recent_posts = wp_get_recent_posts( $args );
foreach( $recent_posts as $recent ){
echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"].'</a> </li> ';
$args = array(
'orderby' => 'name',
'order' => 'ASC',
- 'exclude' => '158'
+ 'exclude' => '219'
);
$categories = get_categories($args);
foreach($categories as $category) {
<p>Archive</p>
<ul>
- <?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, '_exclude_terms' => 158 ) ); ?>
+ <?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12, '_exclude_terms' => 219 ) ); ?>
</ul>
</div>