The first option is to follow both of these untried tutorials: http://www.xldstudios.com/generating-select-menu-in-wordpress/ http://www.xldstudios.com/javascript-snippet-go-to-site-selected-in-drop-down-menu/ The second option is to try this amazing plugin. http://wordpress.org/extend/plugins/dropdown-menus/
Exclude pages in a section (exclude_tree)
All you have to do is include this block of code in your template the same way you would the regular <?php wp_list_pages();?> tag. Page IDs that you would normally pass to exclude_tree go in the first line):
Sidebar menu with a child pages regardless of depth – WP Engineer
This article was taken from WP Engineer: http://wpengineer.com/display-always-subpages-in-sidebar/ In this article I want to show an example in which are the main pages in a horizontal navigation. The related sub-pages are displayed in the sidebar when you click on the main page. For better understanding we take the following page structure: Home Software Image Editor Full Article…
Horizontal Two-Tiered Conditional Navigation
We’ll need code to help us: 1) query the page, 2) determine if there are child pages, and 3) properly highlight both the .current_page_parent and .current_page_item links. If you’re wondering why the CSS seems overly verbose, it’s to make sure the :active and :hover states display correctly whether or not subpages exist — if they Full Article…
Get the root page ID
Get the ID of the root (oldest ancestor, parent without parents) page relative to the current page in a WordPress page template. Can be helpful for use with wp_list_pages() to create navigation markup.
Navigation Menu for sections based on parent and grandparent 02
This code inserts the the sub pages of a parent page, and also the parent page as a link.
Navigation Menu for sections based on parent and grandparent
This is pretty awesome! I needed to have a sub-navigation links menu using the wp_list_pages function for sections and child pages. I needed the menu to display appropriately if it’s a second-level page with only a parent page and also if it is a third-level page making the top-level page of the section a grandparent Full Article…