-
jonnyrharperParticipant
Thanks for the awesome theme. I’m trying to create a blog page that only shows posts from a given category.
I’ve created a new page template based on the original template-blog.php then in the $args array I’ve added ‘category_name’ => ‘jills-blog’. It correctly displays posts only from the category with the slug “jills-blog” but they are displaying in grid format rather than the standard first 3(or whatever is specified in the theme options) as posts then afterwards the remaining posts in a grid.
How can I make it work properly so that the first few posts display with full width then the remaining as a grid?
Many thanks for your help!
sniper2097ParticipantHi 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
You must be logged in to reply to this topic.