Register New Menus in WordPress

WordPress Custom MenusRegister multiple custom navigation menus in the new custom menu editor of WordPress 3.0. This allows for the creation of custom menus. Users will no longer need any plugins to manage or customize their navigation menus.

However, not all themes are created equal. Many outdated themes don’t support custom menus. If you are married to your theme and it doesn’t support custom WordPress menus, then you can add them yourself. Here is how to add custom menus to your WordPress blog.

Register new menu in functions.php between the <?php and ?>

[php]register_nav_menu( ‘secondary’, ‘Secondary Menu’ );[/php]

Then go to header.php and add the new custom menu. Review the options for $args array in the reference below.

$args = array(‘theme_location’=>’secondary’);

Additional Resources:

About Clifton Hatfield

He fell in love with the WordPress Publishing Platform and has been creating themes and plugins for it ever since. He is the kind of guy that can read code better than he can read a book. Often, you can find him hunched over a keyboard delivering his magic. He likes cold pizza, walking on moving sidewalks, and Indiana Jones. Clifton co-founded The Internet Lifestyle Network.