WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to activate the Appearance->Menu functionality (5 posts)

  1. El Comegente
    Member
    Posted 4 years ago #

    I created my own theme but i can´t see the new Appearance->Menu functionality and i can´t found where activate it.

    Please if you know how to do that i will appreciate your help!

    P.D: sorry about my english... is not the best!

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    // THIS THEME USES wp_nav_menu() IN TWO LOCATIONS FOR CUSTOM MENU.
    if ( function_exists( 'register_nav_menus' ) ) {
    	register_nav_menus(
    		array(
    		  'primary' => 'Primary Header Nav',
    		  'foot_menu' => 'My Custom Footer Menu'
    		)
    	);
    }

    is what I use to register 2 menus....
    http://codex.wordpress.org/Function_Reference/register_nav_menus

    once they are registered, you use wp_nav_menu to display them
    http://codex.wordpress.org/Function_Reference/wp_nav_menu

  3. El Comegente
    Member
    Posted 4 years ago #

    thanks, but my problem is that i can´t see the "Menus" button so i can´t create a second menu or something...

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    do you have the register_nav_menus stuff in your functions.php? That's what turns on the menus

    you have to have all the code in place first, then the menu showes up

  5. El Comegente
    Member
    Posted 4 years ago #

    ooooh now i see... thanks bro! thanks so much! i will change the status to "resolved"

Topic Closed

This topic has been closed to new replies.

About this Topic