The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Drop down menu on wordpress

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #24240

    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?


    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 :-)


    But if I am not using a dynamic menu?


    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)
  • The forum ‘Other’ is closed to new topics and replies.