Category Page (5 posts)

  1. anathema
    Posted 8 years ago #

    I am curious what he easiest way to create a category list page. The goal is to remove the categories from my side column and create a nav item called categories that takes users to a page that gives a list of the categories.

  2. Mike Rouse
    Posted 8 years ago #


    Try using:

    <?php list_cats(); ?>

    Put it on the page where you want the links to appear.

    For more see:

    Let me know how you get on.


    Mike Rouse
    [sig - mod]

  3. anathema
    Posted 8 years ago #

    I am aware of the list_cats, but what kind of page would I use? I mean I guess I could just create my own new page manually with all the appropriate database connections. Is that the best way though?

  4. Chris_K
    Posted 8 years ago #

    Nah, that's the hard way!

    Make a new Page template instead. See Pages for more info... in fact, there's a section in there that might be just what you're after.

    If you don't take the example, just make a new Page Template and add the call to wp_list_cats to it.
    Now, in WordPress, create a new Page. Title it "Archives" and select your new Page Template. No need to add text.

  5. elliotjaystocks
    Posted 8 years ago #


    I can't seem to create a new page template at all - for some reason, I'm missing a 'page options' box... it should be under the 'page content' box, right? Or am I missing something?


Topic Closed

This topic has been closed to new replies.

About this Topic