Community Forums › Forums › Archived Forums › Design Tips and Tricks › Is it possible to have a Secondary Menu in the Footer area?
Tagged: navigation menu in footer
- This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by
LaunchPad777.
-
AuthorPosts
-
December 7, 2014 at 8:33 am #133883
LaunchPad777
MemberHello all,
Busy rebuilding a html site for a client using WordPress....Using Genesis Sample child theme
Don't want the search engines to spider the site during reconstruction, so have it locked down at the moment.
I need to place a Secondary Nav Menu directly in the Footer area of the website...
Firstly, how do you add a Secondary Nav menu into the Footer?
Secondly, is it a simple thing to do and how do you do it?Also, I have been trying to get to grips with this by reading up on short codes and also installed the Simple Edits Plugin, but there doesn't appear to be any short codes to add menu items or to add links to certain pages.....
Any ideas on whether you can add menu items to the Footer using Simple Edits Plugin?
Your help is appreciated....
Regards
GregDecember 7, 2014 at 9:03 am #133890anotherusername
ParticipantHow will your second menu be constructed?
Will you be using the Secondary Menu in the Appearance -> Menus -> Secondary Menu edit section?
Or do you just want to craft some html together and use that?
If you want to use the wordpress editor to create a Secondary menu, then go and create your menu, and then in your child theme's functions.php file, add this code:
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'XYZ', 'genesis_do_subnav' );But instead of XYZ, you need to write in the name of the hook you want the secondary nav menu to follow.
If you were to try and use a short code (I am not sure there is a short code for secondary menu, but let's pretend there is), then you would still need to "unhook" it from the genesis_after_header hook.
Hope this helps.
December 7, 2014 at 9:48 am #133893LaunchPad777
MemberHi there,
How will your second menu be constructed?
Using the Menu creation method in Appearance > MenusWill you be using the Secondary Menu in the Appearance -> Menus -> Secondary Menu edit section?
YesOr do you just want to craft some html together and use that?
NoIf you want to use the wordpress editor to create a Secondary menu, then go and create your menu, and then in your child theme’s functions.php file, add this code:
remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ );
add_action( ‘XYZ’, ‘genesis_do_subnav’ );But instead of XYZ, you need to write in the name of the hook you want the secondary nav menu to follow.
What do you mean "write in the name of the hook"?
Is that simply the name of the menu?If you were to try and use a short code (I am not sure there is a short code for secondary menu, but let’s pretend there is), then you would still need to “unhook” it from the genesis_after_header hook.
Hope this helps.
Thanks for your help
Regards
GregDecember 8, 2014 at 2:46 am #133962LaunchPad777
MemberAny ideas?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.