From d80ade1d718611d7fb599aab4a11cbbad40c7e5b Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 20 Aug 2019 19:09:18 -0400 Subject: [PATCH] Adjust ID for sidebar press release display --- home.php | 7 ++++++- parts/blog-sidebar-r.php | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) 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 ) ); ?>
-- 2.17.1