Editing the Footer

Community Forums Forums Design Tips and Tricks Editing the Footer

This topic is: not resolved

Tagged: , ,

This topic contains 7 replies, has 3 voices, and was last updated by  braddalton 2 years, 6 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #23120


    Hi all,

    I’m trying to customise the footer on my Metro theme using the code snippet supplied by Studiopress here –¬†http://my.studiopress.com/snippets/footer/#custom-footer

    Every time to try to add it to my themes functions.php script it crashes my site.

    Where exactly within the .php file do I need to add it please?

    Thanks in advance.




    At the end of your child themes functions.php file. Backup the file first.



    I did that Brad and it completely screwed the site up :/

    However, I’ve just tried it again with the same code and it’s worked. Maybe it’s the edits that I made to the code that screwed it up.

    That having been said, I want to have navigation in the footer to less important pages (like that which can be seen over at http://thinktraffic.net)

    Any ideas on how to alter the customer snippet code to get that sort of look in the Metro theme?




    There’s different ways to do this:

    You can create a widget area in 3 separate footer locations (wherever there’s a genesis_hook and use the custom menu widget with the Widget Logic plugin and conditional tags.

    Or you can write a custom function using conditional tags and add these actions in the function.

    /** Reposition the secondary navigation menu */
    remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ );
    add_action( ‘genesis_footer’, ‘genesis_do_subnav’ );

    You can use this code and hide the footer nav using CSS as well.


    .home .footer_nav { 
    display: none; 

    or use the page i.d rather than #home



    I haven’t tried this on a site yet, but I saw some code for adding a custom footer navigation bar here:


    Scroll down to the directions for “Add a Custom Menu in Custom Footer.”



    Try out the code and see if it works. You could also create a third nav menu and use thaqt in the footer or duplicate your primary nav menu in the footer and hide it on any pages you want.



    I’ve managed to get a half working work around to this…

    See my site http://injuryfree.me

    I want the navigation links more in the middle though, and the copyright stuff on the right.

    Any tips on how to do that?

    Thanks for the help and advice thus far!



    You should be able to find tips on how to do that using the search box as those questions have already been answered in these forums.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.