Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #358267

    Hi,

    we want to add an additional menu position in header?
    hows that possible?

    thx
    chris

    #358556

    Hey Christian!

    This would have to be considered custom work but if I was going to do this then I would probably use the “ava_main_header” action. The code would look something like this.

    add_action( 'ava_main_header', 'enfold_customization_extra_menu' );
    function enfold_customization_extra_menu() {
         wp_nav_menu( 'theme_location' => 'your_location' );
    }

    Here is the function for displaying a menu, http://codex.wordpress.org/Function_Reference/wp_nav_menu.

    And you would need to register the menu with this function, http://codex.wordpress.org/Function_Reference/register_nav_menu.

    Enfold already has two menu areas that display in the header though so I would consider using the “Secondary Menu” if your not already doing so.

    Regards,
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.