Support » Plugins » How to add drop down categories menu on a template that doesn’t have widgets

  • Resolved beautyjunkiesunite


    I am brand new to wordpress. I have a template with many categories that makes it run down my whole page– it’s ugly. I want all my categories but I want a drop down menu to display them instead. Can anyone kindly help a newbie do this without wrecking my whole layout?

    Thanks in advance!
    beauty junkie

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous

    I have the same question. what I need is the children pages/catagories are hiding normally. and they show up when click on the parent page/catagory.



    The answer to the original question depends on whether or not your theme is using widgets. While you say yours doesn’t, I’m including the “widget” version for comparison.

    1. Go to the Design menu and click Widgets. If you get a list of options in the “currently using” (right hand) column, you’re using widgets. If you get an error (“your theme is not widget ready”) or there aren’t any widgets there, go to 2.

    a. I expect the “categories” widget is already one of the ones in use. If not, drag it over to the left hand column.
    b. Click the “edit” link in its title bar and click “show as dropdown”.
    c. Save changes

    You’re done.

    2. You might want to look for another theme that supports widgets and/or start using them and return to #1. If you’ve got some programming background, go to #3.

    3. You’ll need to edit your theme’s sidebar.php.

    a. You can edit it locally and then upload it the way you uploaded your theme in the first place, or you can edit on the server by going to the Design menu and selecting the menu item “Theme Editor”. Then select the sidebar.php (on the right) to edit it within WordPress.

    b. Look for a line with wp_list_categories. Change that line to use the Template Tag wp_dropdown_categories. You may also need to change its parameters — see for the options.

    As for showing nested category levels, the widget has a “show hierarchy” option and using template tags gives you complete flexibility in managing nested categories.



    thanks converting2wp,

    it looks like we are going route #3.

    thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add drop down categories menu on a template that doesn’t have widgets’ is closed to new replies.