Nav bar on landing page

Community Forums Forums General Discussion Nav bar on landing page

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 1 year, 8 months ago.

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

    AjJ
    Participant
    Post count: 2

    Hi, I’m currently using the generate theme. I have a landing page without a nav bar, but I’m looking to make my homepage a static landing page but WITH a nav bar. I’ve looked around and cant seem to find a solution. Anyway one have any ideas?

    Best,

    Alan

    • This topic was modified 1 year, 8 months ago by  AjJ.
    • This topic was modified 1 year, 8 months ago by  AjJ.
    #21272

    cehwitham
    Participant
    Post count: 396

    Hi Alan,

    I suggest setting up the primary or secondary nav bar, you’ll need to turn it on under Genesis Settings and then assign a menu to it under Appearance > Menus.

    Once you’ve done this you can add the following code to your landing page template file to remove the nav bar:

    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );


    Twitter: cehwitham Web: cehwitham.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.