Support » Fixing WordPress » How to show just ONE category

  • Resolved Red Deer Web Design


    I have been trying different WP_Query w/ category things, but they don’t seem to work….

    I am placing these in a category.php with the category “filter” for each category different so I can design different layouts for each category. It isn’t reading any of the queries though and instead edits the same format for ALL the categories.

    Could someone provide me with a very simple piece of code that I can copy paste just to get the “filter” working. From there I can input the rest of my changes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    Why are you adding custom queries to your category templates?

    Well perhaps I am going about it all wrong. Here is the situation:

    On my website I have 3 buttons, each for a different category. One category displays a list of titles, while another button/category displays the excerpts + title. Thus this second category must have a different formatting….



    Forum Moderator

    Have a look at Category_Templates.

    Perfect! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to show just ONE category’ is closed to new replies.