/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* support custom menus */ add_action( 'init', 'register_my_menus' ); function register_my_menus() { register_nav_menus( array( 'menu-nav' => __( 'Navigation Menu' ) // , //'menu-2' => __( 'Footer Menu' ) ) ); } // then in header.php add:
URL: http://www.devlounge.net/code/how-to-add-support-for-menus-in-your-wordpress-theme
Comments
