Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter smartbrunette

    (@smartbrunette)

    Yes I was ! I had to make an amendment to feed.php : `
    $args=array(‘category__in’ => 24);
    $query = new WP_Query( $args );
    if ( $query->have_posts() ) :

    while ( $query->have_posts() ) :

    $query->the_post();
    get_template_part( ‘content’, get_post_format() );

    endwhile;
    endif;`

    and I moved the code to display the featured categories up right below the banner display:

    if ( is_front_page() && ! is_paged() ) :
    									get_template_part( 'parts/frontpage', 'banner' );
    								
    								endif;
    						if ( is_front_page() && ! is_paged() ) :
    								get_template_part( 'parts/frontpage', 'featured-categories' );
    							endif;

    thank you!

Viewing 1 replies (of 1 total)