Answers for "wordpress menu development"

4

wp_nav_menu

wp_nav_menu( array(
    'menu' => 'TEST',
    'menu_class' => "", 
    'menu_id'   => "",
    'container' => false
) );
Posted by: Guest on November-14-2020
1

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' );
Posted by: Guest on October-29-2020

Code answers related to "wordpress menu development"

Browse Popular Code Answers by Language