I would like to know how can I create a special page with a blog template (Blog Overview)
that shows only posts from a specific category.
meaning. I need to maybe duplicate the blog template and create a new template based on the blog template
that shows only posts from a specific category. any idea?
You could duplicate template_blog.php. Change the template name to something other than “Blog Overview” and then find the query string:
$query_string = "cat=".$negative_cats."&paged=$paged";
change it to this:
$query_string = "cat=10&paged=$paged";
where 10 is the category ID of the category you’d like to display.
thanks, it worked
but i see the specific post – in the Blog overview blog page as well…
what do i have to do to see it only in the new blog page i created.
The topic ‘Show blog page with a specific category’ is closed to new replies.