WordPress.org

Ready to get started?Download WordPress

Forums

How do you integrate one catagory only? (4 posts)

  1. mattisn
    Member
    Posted 8 years ago #

    I working on a site where I need to have a page where I only integrate one catagory (for instance: news or exercises) and not all the posts. How would I do that?

    Thanks for your help

  2. Chris_K
    Member
    Posted 8 years ago #

  3. mattisn
    Member
    Posted 8 years ago #

    Thanks for your reply! However I'm still not able to solve my problem. I use the loop on a costume built site to get the post's I need.

    How do I modify the loop to just get one catagory?

    Thanks alot

  4. Chris_K
    Member
    Posted 8 years ago #

    Hard to say without seeing what you're up to.

    If you look at WP running with the default theme, you'll see a list of Categories in the side bar. Click one of those and you get a page (see the link above) just for the articles in that category. That all "just happens". Seems like you'd want to mirror that...

    Check the default theme's sidebar.php to see the tags used to list categories -- those build the url you likely want.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags