From 8e3775f1d82895f27db30acc92ccb54c4c23b2ec Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 6 Nov 2018 14:38:14 -0500 Subject: [PATCH] updating the ids for the epicenter blog imports --- functions.php | 2 +- parts/blog-sidebar-rss.php | 2 +- rssfeed.php | 2 +- sidebar.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 2b5fc00..f230eff 100644 --- a/functions.php +++ b/functions.php @@ -578,7 +578,7 @@ function woocommerce_support() { function exclude_category( $query ) { if ( $query->is_home() && $query->is_main_query() ) { - $query->set( 'cat', '-53' ); + $query->set( 'cat', '-70' ); } } diff --git a/parts/blog-sidebar-rss.php b/parts/blog-sidebar-rss.php index 89ebbf2..4c667eb 100644 --- a/parts/blog-sidebar-rss.php +++ b/parts/blog-sidebar-rss.php @@ -22,7 +22,7 @@ $epicenter_blog = get_posts( $args ); // print_r($epicenter_blog); - $args = array('id' => '53', 'numberposts' => '5', 'post_status' => 'publish' ); + $args = array('id' => '70', 'numberposts' => '5', 'post_status' => 'publish' ); $recent_posts = wp_get_recent_posts( $args ); foreach( $epicenter_blog as $recent ){ echo '
  • ' . $recent->post_title .'
  • '; diff --git a/rssfeed.php b/rssfeed.php index 9f33d8b..3191ab8 100644 --- a/rssfeed.php +++ b/rssfeed.php @@ -19,7 +19,7 @@ global $post;
    - +
    diff --git a/sidebar.php b/sidebar.php index 002fa6d..2e2720e 100644 --- a/sidebar.php +++ b/sidebar.php @@ -25,7 +25,7 @@
    1, - 'category' => '53', + 'category' => '70', 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'post', -- 2.17.1