Support » Fixing WordPress » displaying category on page

  • I’ve been reading and thus far I haven’t come across the answer I’m hoping for so if I’m missing this obvious answer some where around here I apologize in advance.

    I just installed wordpress on my domain. After I installed it I started giving some thought to how I wanted to layout things. One issue that seems to have me stumped at this point is that I want to feature one category on a secondary page. Now I know I could just create a link to that category and the page will be generated by the theme. Which would be all fine and dandy if I didn’t want to insert some info just under the navigation bar that may or may not change until I no longer want to feature that category.

    So any suggestions on what is the best way to handle this?

    WP 2.5.1

Viewing 4 replies - 1 through 4 (of 4 total)
  • BTW I’ll still be searching the forums until someone either answers this or I find it.

    Bump since I’m not on the first page

    A couple of options:

    Make a copy of your theme’s category.php (or archive.php if you don’t have a category.php) and name it category-44.php (change 44 to the category ID number of your category). Add your code to category-44.php.

    Another option is to use the is_category(’44’) conditional tag on category.php or archive.php to only display this code for your chosen category.

    I posted a reply here on why this question is commonly misconceived.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘displaying category on page’ is closed to new replies.