Home › Forums › Support › Move Secondary Navigation before footer This topic has 7 replies, 3 voices, and was last updated 1 year, 4 months ago by David. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts October 24, 2020 at 7:00 pm #1502930 Chitika Hello. I’m trying to add this code – add_action( 'after_setup_theme', function() { remove_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 5 ); add_action( 'generate_before_footer', 'generate_add_secondary_navigation_after_header', 1 ); }); But the secondary navigation appears both above and below. How to make it appear only once. I removed the code btw, October 25, 2020 at 5:51 am #1503239 DavidStaff Customer Support Hi there, try this instead. 1. Set the Customizer > Layout > Secondary Navigation –> Location to No Navigation 2. Add this PHP Snippet: add_action( 'generate_before_footer', 'generate_secondary_navigation_position', 1 ); October 25, 2020 at 7:13 am #1503289 Chitika Thanks @David. That worked perfectly. October 25, 2020 at 9:01 am #1503627 DavidStaff Customer Support You’re welcome November 28, 2022 at 8:33 am #2439305 David Hi David, just following on from this, I’d like to position the secondary menu in between the footer widgets and the footer bar. Could you please provide an updated snippet? Thanks! November 28, 2022 at 9:40 am #2439434 DavidStaff Customer Support So this line: add_action( 'generate_before_footer', 'generate_secondary_navigation_position', 1 ); becomes: add_action( 'generate_after_footer_widgets', 'generate_secondary_navigation_position', 1 ); November 28, 2022 at 10:02 am #2439481 David Thank you David… November 28, 2022 at 11:06 am #2439588 DavidStaff Customer Support You’re welcome Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In