Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how make custom menu in wordpress

function wpb_custom_new_menu() {
  register_nav_menus(
    array(
      'my-custom-menu' => __( 'My Custom Menu' ),
      'extra-menu' => __( 'Extra Menu' )
    )
  );
}
add_action( 'init', 'wpb_custom_new_menu' );
Source by www.wpbeginner.com #
 
PREVIOUS NEXT
Tagged: #custom #menu #wordpress
ADD COMMENT
Topic
Name
6+6 =