- This topic has 14 replies, 4 voices, and was last updated 9 years, 8 months ago by
Tom.
-
AuthorPosts
-
November 23, 2014 at 6:36 pm #48619
cliqous
how can i move the secondary menu to the footer (below the footer widget)
for now, i can only move it above the header, below the header, etc.November 24, 2014 at 12:13 am #48628Tom
Lead DeveloperLead DeveloperHmm let me look at the best way to do this – may add it as an option if I find a good way.
Will post back with solution for you.
November 24, 2014 at 5:34 pm #48892cliqous
I will wait for it Tom.
November 25, 2014 at 2:57 pm #49129Tom
Lead DeveloperLead DeveloperI’ll give you some code for now ๐
Where do you have the secondary menu currently set?
November 25, 2014 at 6:14 pm #49147cliqous
currently it is just above the header.
like this one in the home page:
SECONDARY MENU (left)
HEADER LOGO (left)
PRIMARY MENU (left)November 26, 2014 at 9:35 am #49266Tom
Lead DeveloperLead DeveloperThis code should work:
add_action('after_setup_theme','generate_navigation_below_footer_widgets'); function generate_navigation_below_footer_widgets() { remove_action( 'generate_before_header', 'generate_add_secondary_navigation_before_header', 7 ); add_action( 'generate_after_footer_widgets', 'generate_add_secondary_navigation_before_header', 7 ); }You can use a plugin like this to add the code: https://wordpress.org/plugins/code-snippets/
Let me know if this works or not ๐
November 30, 2014 at 5:51 pm #50096cliqous
thank you
November 30, 2014 at 6:47 pm #50102Tom
Lead DeveloperLead DeveloperYou’re welcome ๐
April 27, 2015 at 10:31 am #102860Kevin
I can’t get this to work…simply want to add the secondary menu to below the footer.
April 27, 2015 at 11:44 pm #103054Tom
Lead DeveloperLead DeveloperThe above code should work as long as you have your secondary nav set to show up before the header? Can you confirm?
June 26, 2016 at 12:45 am #204626Annamalai
Yes its working perfectly as you said.. Thank you tom ๐
June 26, 2016 at 10:02 am #204706Tom
Lead DeveloperLead DeveloperNo problem ๐
June 26, 2016 at 5:23 pm #204760Renae
Hi there,
I’m wondering if there is a way to have a top navigation with my site pages and a side navigation for external links? I feel like the above description is similar to what I need but, I would like it in the left sidebar.
Thanks!
RenaeJune 26, 2016 at 5:40 pm #204761Renae
I figured it out. Thanks anyway!
June 26, 2016 at 8:42 pm #204777Tom
Lead DeveloperLead DeveloperAwesome, glad you got it sorted ๐
-
AuthorPosts
- You must be logged in to reply to this topic.