The most talked about features of WordPress 3.0 and also the creation of WooThemes – Custom Menu

Some are still not sure how to use it, and ended up only having one custom menu and still doing some manually adding menu for another menu. You don’t need an accredited online degree to know how to make your life easier with the custom menu feature.

Many website nowadays wants to have 2 menu list, one for the visitors, one for partners/business investor and etc. The common idea is to place another small navigation on the footer, the most bottom of the page.
Here I will register menu with name in functions.php:
if ( function_exists('register_nav_menu') ) {
register_nav_menu( 'top_menu', 'Top Menu' );
register_nav_menu( 'bottom_menu', 'Bottom Menu' );
}
So I can call out on my template
<?php if (function_exists('wp_nav_menu') ) { wp_nav_menu('menu=Top Menu'); } else {?>
<ul><?php wp_list_pages('title_li='); ?></ul>
<?php } ?>
<?php if (function_exists('wp_nav_menu') ) { wp_nav_menu('menu='Bottom Menu'); } else {?>
<ul><?php wp_list_pages('title_li='); ?></ul>
<?php } ?>
After that, only styling I need
However, the downside is that you’ll need to create a menu name that is exactly the same as in functions.php.

This is related to the menu function. Previously, if you notice, many theme comes with an instruction telling you how to use custom field to do re-direction. Key in “redirect” for name then key in the address in value, change the page template. Well, no biggy now, just a link and name of the link it can be up in your menu by your order.
Since you can actually order your menu and place any page as parent and child page. You don’t really need the page attribute.


