Drop down menu on wordpress

  • # February 27, 2009 at 11:13 am

    Do I need to have a plugin installed or can I just add the script (javaScript or JQuery) into the code to make a drop down menu working on wordpress?

    # February 27, 2009 at 12:44 pm

    The simplest way is to insert wp_list_pages("title_li=") into your header.php. This outputs an unordered list of your pages. Then you can use suckerfish or superfish or whatever to turn that into a dropdown menu :-)

    # February 27, 2009 at 5:20 pm

    But if I am not using a dynamic menu?

    # February 28, 2009 at 6:51 pm

    If it’s not dynamic? You mean it’s just HTML? HTML works in WordPress themes (or any .php) same as normal so you should be able to just copy and paste it.

    Hope that helps

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.