• Hi,

    in my dashboard the menus tab isnt showing up under themes

    i have this in my functions.php

    <?php
    // WORDPRESS MENUS
    
    		add_theme_support( 'menus' );
    
    	// REGISTERING MENUS
    
    		register_nav_menus(
    			array(
    				'head-nav' => __( 'The Main Menu' ),   // MAIN HEADER NAVIGATION
    				'foot-nav' => __( 'Footer Navigation' ) // FOOTER NAVIGATION
    			)
    		);
    }
    ?>

    Thats all i have in my theme about menus apart from calling the menu in the header.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Why not just register each one individually? The function register_nav_menus() calls the single function register_nav_menu() anyway.

    register_nav_menu ( 'head-nav', __( 'The Main Menu', 'theme-domain' ) );
    register_nav_menu ( 'foot-nav', __( 'Footer Navigation', 'theme-domain' ) );

    Thread Starter Connor Miles

    (@connor15)

    hi,

    im getting a syntax error on that and just to be clear im not ob about just the menus the actual menu link in the the dashboard is not showing up under the themes link so i cant manage the menus

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    You can leave out the ‘theme-domain’ part if you don’t really plan on making the theme translatable anyway. That is the main purpose of the function __().

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Admin Menu Tab not showing up’ is closed to new replies.