I have a client who’d like to have a duplicate of the primary nav bar at the bottom of the page, above the footer. Haven’t seen anything about that here.
Thanks for any/all guidance.http://local
You can change the hook position in this code if needed:
add_action( ‘genesis_before_footer’, ‘genesis_do_nav’ );
Can I keep the nav bar in its original spot AND duplicate it above the footer with that? You said “change” the hook position. . .
Brad, it worked like a charm except it added the nav bar underneath the footer widget area. I changed it to after_content, and it showed up above the widgetized area but narrower for some reason. Any thoughts?
Also, on the upper nav bar we’ve included the date, but we don’t want it on the lower one. Is there a way to modify what shows up in each?
Can you please link to your site.
The code ads the nav bar before the footer as requested.
If you want to add it before the footer widgets, you will need to change the hook position:
add_action( ‘genesis_after_content_sidebar_wrap’, ‘genesis_do_subnav’ );
I tested this locally and it works.
The footer widgets and the footer are 2 different sections.
Please start another post for your second question. Thanks
Thanks, Brad. The after content sidebar wrap hook works, but also displays the menu bar narrower than the footer widgets just below it (and narrower than the menu in the header as well).
It’s on a temp. site at http://bjmann.shewblogs.com/
At least I’m getting to see what different hooks do!
Yes i see that. You would need to use CSS to fix that problem or try another hook.
Another way would be to create a third menu.
Brad, how would I apply that 3rd menu to the bottom nav bar?
You’d need to custom code it first and then hook it in to position. I don’t have the code for that at the moment.
So not as simple as just creating a new menu, then?
No because you need to assign it to a menu position of which there are only 2 by default with your theme so you need to register a new menu using PHP code. Haven’t done that before using Genesis.
Could I create an after-content widget area and put a custom menu into it?
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.