Archive Template

Community Forums Forums Design Tips and Tricks Archive Template

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #107020



    I am using the foodie theme which comes with a archive page template. I was wondering how I can show on a certain page (using the archive template?) only those post that have a specific category? Should I use the archive template at all for this or is there another way to show only posts of a specific category on a specific page?

    Any help is much appreciated!!!



    Its not a SP child theme.

    Please post the full page template code in a Github Gist and link to it or embed it here.

    The recommended way to alter the main query for page requests is to use new WP_Query in the page template itself.

    However there are other options.

    The only page which displays all posts from all categories is a posts page like a blog page.

    Your question needs clarification.

    Category archives only display posts from one category.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.