updating the ids for the epicenter blog imports feature/epicenter
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 6 Nov 2018 19:38:14 +0000 (14:38 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 6 Nov 2018 19:38:14 +0000 (14:38 -0500)
functions.php
parts/blog-sidebar-rss.php
rssfeed.php
sidebar.php

index 2b5fc00..f230eff 100644 (file)
@@ -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' );
     }
 }
 
index 89ebbf2..4c667eb 100644 (file)
@@ -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 '<li><a href="' . get_permalink($recent->ID) . '">' .   $recent->post_title .'</a> </li> ';
index 9f33d8b..3191ab8 100644 (file)
@@ -19,7 +19,7 @@ global $post;
             <img src="<?php echo get_template_directory_uri(); ?>/assets/logo-epicenter.png" alt="">
         </div>
         <div id="blog-posts-over" class="small-12 medium-8 columns">
-        <?php query_posts('cat=53&posts_per_page=4'); ?>
+        <?php query_posts('cat=70&posts_per_page=4'); ?>
             <?php if(have_posts()) : while(have_posts()): the_post();?>
             <div class="row content blog-posts-container">
                 <div class="small-11 small-centered columns">
index 002fa6d..2e2720e 100644 (file)
@@ -25,7 +25,7 @@
                                         <div>
                                             <?php $args = array(
                                                 'posts_per_page'   => 1,
-                                                'category'         => '53',
+                                                'category'         => '70',
                                                 'orderby'          => 'date',
                                                 'order'            => 'DESC',
                                                 'post_type'        => 'post',