Return to Snippet

Revision: 53219
at November 16, 2011 17:48 by xcsteve99


Initial Code
add_action('init', 'register_custom_menu');
 
function register_custom_menu() {
register_nav_menu('custom_menu', __('Custom Menu'));
}

Initial URL
http://thinkvitamin.com/code/getting-started-with-wordpress-custom-menus/

Initial Description
Add this to your functions.php file

Initial Title
Wordpress - Add Custom Menu Support

Initial Tags
wordpress, navigation

Initial Language
PHP