Rene
asked 6 years ago

I use DW-Store with blogs on template \’Blog Grid 4 Colums\’. How can I show blogs with a specific category only on a page with that same template?

1 Answers
DominicStaff
answered 6 years ago

In this case, you can duplicate this template file then find the line 13 to query post by category with the following code: 

$custom_query_args = array( 'post_type' => 'post', 'category' => 1, 'posts_per_page' => 12, 'ignore_sticky_posts' => true );

You can add the ID of the category that you want to query in here: ‘category’ => 1

Powered by DW Question & Answer Pro