WordPress.org

Ready to get started?Download WordPress

Forums

Category Page (5 posts)

  1. anathema
    Member
    Posted 7 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
    Member
    Posted 7 years ago #

    Hi,

    Try using:

    <?php list_cats(); ?>

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

    For more see:
    http://codex.wordpress.org/Template_Tags/list_cats

    Let me know how you get on.

    Sincerely,

    Mike Rouse
    [sig - mod]

  3. anathema
    Member
    Posted 7 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
    Member
    Posted 7 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
    Member
    Posted 7 years ago #

    Hi,

    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?

    Thanks...

Topic Closed

This topic has been closed to new replies.

About this Topic