• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

Reposition Home Secondary Nav Below Welcome & Above home-middle-wide

Home › Community Forums › Optimal Theme Support › Reposition Home Secondary Nav Below Welcome & Above home-middle-wide

Tagged: home-middle-wide, hooks, repositioning, secondary navigation, welcome

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 10 months ago by Wes.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 2, 2014 at 1:47 pm #11581
    askdesign
    Customer

    Hi Wes,
    I’ve got a unique navigation for the Home page. I’ve styled it with a Custom Menu and assigned it to the Secondary Navigation. I’m able to position it below Welcome using this code in functions.php:

    // Reposition the Secondary Navigation
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    add_action( 'genesis_before_content', 'genesis_do_subnav' );

    The above code places the nav into the content area.

    The challenge for me is that I need to insert some text beneath the navigation, before the footer widgets. So, I want the sequence to ideally be this:
    header
    welcome
    navigation
    home-middle-wide
    footer-widgets

    Is there a hook for this? I tried using the various landing page widgets, but they all place the content above the nav, rather than below it.

    many thanks!

    April 4, 2014 at 8:10 am #11591
    Wes
    Moderator

    Try adding a priority at the end of that code so it will show up after the welcome area. Or you could add a priority to the welcome area and move it up so it shows before the nav.

    You’ll have to test each priority number by starting from 0 and going up until you get the position you want.

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

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework