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 1 year, 8 months ago.

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

    bassjamm
    Participant
    Post count: 15

    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.

    J

    #23142

    braddalton
    Participant
    Post count: 10348

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


    #23148

    bassjamm
    Participant
    Post count: 15

    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?

    Thanks

    #23156

    braddalton
    Participant
    Post count: 10348

    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.
    [php]
    /** Reposition the secondary navigation menu */
    remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ );
    add_action( ‘genesis_footer’, ‘genesis_do_subnav’ );
    [/php]

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

    Example:
    [css]
    .home .footer_nav {
    display: none;
    }
    [/css]

    or use the page i.d rather than #home


    #23157

    cvillelady
    Participant
    Post count: 17

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

    http://www.areuconnected.com/genesis/customizing-genesis-footer-content/

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

    #23158

    braddalton
    Participant
    Post count: 10348

    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.


    #23159

    bassjamm
    Participant
    Post count: 15

    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!

    #23166

    braddalton
    Participant
    Post count: 10348

    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.