Reply To: Show Only one Category within Blog Template

#7739
sniper2097
Participant

Hi Jonny.

Sorry to hijacking the thread but I think you’ve done something I am trying to do.

I have two pages on my blog site – one “BLOG” and the other “NEWS”. Each of these pages use slightly different templates. I’ve also set up BLOG and NEWS categories.

I’m trying to modify the $args array so that it only picks up one category – the BLOG template only displaying posts in the BLOG category. And likewise with the NEWS category.

If you could give me any pointers on what git of code I edit and how it’d be appreciated.
Thanks