Categorized | Tutorials, WordPress

Enable Navigation Menu Editor for Easy Menu Management

// <![CDATA[//

Many users are going to love this feature. If the themes supports this, users will be able to manage the navigation from the Dashboard, just below the Appearance settings. There will be a new menu item.

To enable this, add the following to the functions.php of your theme:

add_theme_support( 'menus' );

To call the menu into the theme, add the following to the header.php:

<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>

where menu-order is the css class for the menu. You will have to change this according to your style-sheet.

Source: For more details – How to Add Custom Navigation Menus in WordPress 3.0 Themes

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. WordPress Plugin – DashBoard Editor
  2. WordPress Plugin – Advanced TinyMCE Editor
  3. WordPress Plugin – CustomNav (Navigation Menu Plugin)
  4. Enable Custom Header Management to Change Header Images Easily
  5. Add Support For Post Thumbnail Images

Leave a Reply

Categories

-->