Archived topic
Secondry Menu
5 replies · Started by Rob on July 20, 2018
Hi there.
I wonder if you can help?
A client is asking for a secondry menu underneath the "slider", or in this case the page header.
Is this possible at all?
I can see various options for its position, but cant quite get it to work
Here is the link to the screenshot - https://ibb.co/hbEczJ
Hi there,
Try this PHP snippet:
add_action( 'after_setup_theme','lh_move_secondary_navigation' );
function lh_move_secondary_navigation() {
remove_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 7 );
add_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 15 );
}
Adding PHP: https://docs.generatepress.com/article/adding-php/
Awesome! Thanks.
Although, it now appears twice :(
Edited the code above: https://generatepress.com/forums/topic/secondry-menu/#post-628617
Can you try it again?
Thankyou ever so much for the quick reply :)
Awesome as usual!
No problem :)