Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12514
    Lolley
    Member

    I 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: kingyclan

    Thank you!

    #12528
    Lolley
    Member

    apologies, typo in url. It should be http://www.kingsholidaycottages.co.uk

    #12547
    Sakin
    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 );

    #12551
    Lolley
    Member

    Thank you Sakin, will give it a try!

    #12553
    Lolley
    Member

    Sakin, can I get to the functions.php via WP or do I need an editor? I have Dreamweaver…

    #12557
    Lolley
    Member

    Sakin, 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

    #12560
    Sakin
    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.

    #12591
    Lolley
    Member

    I’m so envious of your php talent! Thank you Sakin!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘duplicate main menu’ is closed to new replies.