Tagged: menu
- This topic has 7 replies, 2 voices, and was last updated 11 years, 8 months ago by
Lolley.
-
AuthorPosts
-
July 29, 2013 at 7:59 pm #12514
Lolley
MemberI have received a request to duplicate the main menu on a site and have it running just above the footer. My client would like this feature so that on longer pages he doesn’t have to scroll to the top of the page again.
Is there a way?
The site is http://www.kingsholidaycotteges.co.uk
password: kingyclanThank you!
July 29, 2013 at 11:14 pm #12528Lolley
Memberapologies, typo in url. It should be http://www.kingsholidaycottages.co.uk
July 30, 2013 at 1:35 am #12547Sakin
Keymaster@Lolley: Sorry there is not default option for that. So, you need to build child theme and create functions.php file in your child theme and add the code in your child theme functions.php file.
add_action( 'catcheverest_after_footer_sidebar', 'catcheverest_header_menu', 10 );
July 30, 2013 at 2:06 am #12551Lolley
MemberThank you Sakin, will give it a try!
July 30, 2013 at 2:11 am #12553Lolley
MemberSakin, can I get to the functions.php via WP or do I need an editor? I have Dreamweaver…
July 30, 2013 at 1:40 pm #12557Lolley
MemberSakin, I found functions.php and copied it into my child theme. I added the code
add_action( ‘catcheverest_after_footer_sidebar’, ‘catcheverest_header_menu’, 10 );
to the end of the file resulting in the pages being blank! Please could you explain to me where I should add the code.
Thanks indeed,
Lesley
July 30, 2013 at 2:52 pm #12560Sakin
Keymaster@Lolley: You don’t need to copy functions.php in your child theme. You just need to create functions.php file and that that code in your child theme functions.php file.
July 30, 2013 at 8:28 pm #12591Lolley
MemberI’m so envious of your php talent! Thank you Sakin!
-
AuthorPosts
- The topic ‘duplicate main menu’ is closed to new replies.