[Resolved] secondary menu below the whole page

Home Forums Support [Resolved] secondary menu below the whole page

Home Forums Support secondary menu below the whole page

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #48619
    cliqous

    how can i move the secondary menu to the footer (below the footer widget)
    for now, i can only move it above the header, below the header, etc.

    #48628
    Tom
    Lead Developer
    Lead Developer

    Hmm let me look at the best way to do this – may add it as an option if I find a good way.

    Will post back with solution for you.

    #48892
    cliqous

    I will wait for it Tom.

    #49129
    Tom
    Lead Developer
    Lead Developer

    I’ll give you some code for now πŸ™‚

    Where do you have the secondary menu currently set?

    #49147
    cliqous

    currently it is just above the header.

    like this one in the home page:

    SECONDARY MENU (left)
    HEADER LOGO (left)
    PRIMARY MENU (left)

    #49266
    Tom
    Lead Developer
    Lead Developer

    This code should work:

    add_action('after_setup_theme','generate_navigation_below_footer_widgets');
    function generate_navigation_below_footer_widgets()
    {
          remove_action( 'generate_before_header', 'generate_add_secondary_navigation_before_header', 7 );
          add_action( 'generate_after_footer_widgets', 'generate_add_secondary_navigation_before_header', 7 );
    } 

    You can use a plugin like this to add the code: https://wordpress.org/plugins/code-snippets/

    Let me know if this works or not πŸ™‚

    #50096
    cliqous

    thank you

    #50102
    Tom
    Lead Developer
    Lead Developer

    You’re welcome πŸ™‚

    #102860
    Kevin

    I can’t get this to work…simply want to add the secondary menu to below the footer.

    #103054
    Tom
    Lead Developer
    Lead Developer

    The above code should work as long as you have your secondary nav set to show up before the header? Can you confirm?

    #204626
    Annamalai

    Yes its working perfectly as you said.. Thank you tom πŸ™‚

    #204706
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #204760
    Renae

    Hi there,

    I’m wondering if there is a way to have a top navigation with my site pages and a side navigation for external links? I feel like the above description is similar to what I need but, I would like it in the left sidebar.

    Thanks!
    Renae

    #204761
    Renae

    I figured it out. Thanks anyway!

    #204777
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad you got it sorted πŸ™‚

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