Hi,
I’m trying to move the secondary nav below the page headers that I created with Gp.
After a look in the forum for answers I tried this but didn’t work:
add_action( 'after_setup_theme','tu_move_secondary_nav' );
function tu_move_secondary_nav() {
remove_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 7 );
add_action( 'generate_before_main_content', 'generate_add_secondary_navigation_after_header', 15 );
}
Please can you help me?
Is it possible also to move the search widget in the secondary nav? This will work?
https://generatepress.com/forums/topic/move-search-function-to-secondary-menu-position/#post-333155