Support » Themes and Templates » Drop down menu with list_pages

  • I’m looking to create a dropdown menu (as in a <select> menu) with a list of pages from the current hierarchy level. At present I’ve got it in an unordered list using list_pages (see ) but can’t seem to utilise that function to create a select dropdown menu instead.

    The code I’m currently utilising can be found here:

    Is there any way for the code list_pages generates to be changed, to output option tags instead of the usual li tags, and to strip out any other unnecessary classes?


  • The topic ‘Drop down menu with list_pages’ is closed to new replies.