About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
This worked great for the homepage, but for all other pages, it puts the secondary menu below the content: http://d.pr/i/NR4B Is there a way to have it be above the content on pages, but still below the slider on the front page?
I have updated the functions.php code in my blog post. Use the updated code.
This is great – thank you. It worked well until I tried to add another widget into front-page.php. I added a widget called home-middle but the navigation is now sitting on top of it. Do you know a way to get that next widget to clear the sub-nav?
Hi Sridhar,
Thank you so much for this tutorial, I really appreciate you.
I was hoping you could help me. I would only like the subnav (below the slider) in the homepage. I don’t want the subnav on any other pages.
I changed the function (see below):
Result: The subnav was removed on all other pages, but the subnav went back up to the original location. Can you help please?
thank you so much in advance for your help!
Joyce
//* Reposition the secondary navigation menu
add_action( ‘genesis_meta’, ‘sk_reposition_subnav’ );
function sk_reposition_subnav() {
if( ! is_front_page() )
remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ );
};