From: Laury GvR Date: Tue, 20 Aug 2019 23:09:18 +0000 (-0400) Subject: Adjust ID for sidebar press release display X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d80ade1d718611d7fb599aab4a11cbbad40c7e5b;p=WP-Themes%2Fsaultstemarie.git Adjust ID for sidebar press release display --- diff --git a/home.php b/home.php index 1db23c8..9b134ff 100644 --- a/home.php +++ b/home.php @@ -14,7 +14,12 @@
-

Sault Ste Marie's Blog

+ + +

Press Releases

+ +

Sault Ste Marie's Blog

+
diff --git a/parts/blog-sidebar-r.php b/parts/blog-sidebar-r.php index a15b944..3b0629a 100644 --- a/parts/blog-sidebar-r.php +++ b/parts/blog-sidebar-r.php @@ -8,7 +8,7 @@

Recent Posts

    '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 '
  • ' . $recent["post_title"].'
  • '; @@ -21,7 +21,7 @@ $args = array( 'orderby' => 'name', 'order' => 'ASC', - 'exclude' => '158' + 'exclude' => '219' ); $categories = get_categories($args); foreach($categories as $category) { @@ -31,7 +31,7 @@

    Archive

      - 'monthly', 'limit' => 12, '_exclude_terms' => 158 ) ); ?> + 'monthly', 'limit' => 12, '_exclude_terms' => 219 ) ); ?>