Hi folks,
I wondered if anyone knew how to adjust the blog template to display just one type of category. I've looked in the .php file that generates the blog and I've tried adjusting the code that I think needs to be used to display just my posts categorised as "blog":
Here's the code I've adjusted:
<?php
$wp_query = new WP_Query();
$wp_query->query( array( 'category_name=blog&posts_per_page=3' => get_option( 'posts_per_page' ), 'paged' => $paged, 'category' => 'blog') );
$more = 0;
?>
It doesn't work I wondered if anyone on here knew what I needed to modify to ensure I only display a certain category on my blog page. Thank you for your assistance!