Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to Add Custom Navigation Menus in WordPress Themes

function wpb_custom_new_menu() {
  register_nav_menu('my-custom-menu',__( 'My Custom Menu' ));
}
add_action( 'init', 'wpb_custom_new_menu' );
Source by www.wpbeginner.com #
 
PREVIOUS NEXT
Tagged: #How #Add #Custom #Navigation #Menus #WordPress #Themes
ADD COMMENT
Topic
Name
7+5 =