WordPress.org

Ready to get started?Download WordPress

Forums

How to add categories dropdown (2 posts)

  1. Laurana22
    Member
    Posted 3 years ago #

    I've been searching but can't find what I need so I was hoping to get some help here. I'm running the twenty ten theme and want to add a drop down menu of categories in the menu bar below the header image. I've found how to add it to the sidebar, but since I'm running it as one colum that won't work for me. Can anyone point me in the right direction?

  2. David Gwyer
    Member
    Posted 3 years ago #

    This should help you with the code you need to create a drop down list of categories. You can then add this code to a function in your themes functions.php file and place the call to it wherever you need it to appear in your theme files (i.e. probably header.php in your case).

    http://codex.wordpress.org/Function_Reference/get_categories#Dropdown_Box

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.