WordPress.org

Ready to get started?Download WordPress

Forums

how to display categories instead of pages in a menu (3 posts)

  1. Dr Tester
    Member
    Posted 4 years ago #

    Hi
    I've looked through this forum, perhaps i am using the wrong terminology.

    If I have a basic theme and the menu displays pages ,
    How can i change this so the menu displays categories?

    Can someone explain or point me in the right direction?

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    well....wherever your menu is constructed (often header.php)

    pages are listed using wp_list_pages

    you need to use wp_list_categories

    http://codex.wordpress.org/Template_Tags/wp_list_categories

  3. Dr Tester
    Member
    Posted 4 years ago #

    thank you
    after i posted i found that page,
    but thanks for showing it to me, tells me i am headed in the right direction

Topic Closed

This topic has been closed to new replies.

About this Topic