How to place code above widgetized footer

Community Forums Forums Design Tips and Tricks How to place code above widgetized footer

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  SoZo 1 year, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2073

    pushingsocial
    Participant
    Post count: 4

    I’m trying to place code directly above the widgetized footer here http://www.harvillelaw.com/wordpress.

    I’m using simple hooks, but the before_footer hook places content above the copyright text not above the widgetized footer.

    Need help :)

    #2084

    SoZo
    Moderator
    Post count: 1573

    You can’t use Simple Hooks for this. You need to add a function to functions.php since you need to add a priority number, i.e. the “1″ below

    add_action(‘genesis_before_footer’, ‘stuff_before_footerwidgets’, 1);
    function stuff_before_footerwidgets() {
    ADD YOUR STUFF HERE
    }


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #2143

    pushingsocial
    Participant
    Post count: 4

    That worked perfectly.  Thanks!

    #2161

    SoZo
    Moderator
    Post count: 1573

    You’re welcome :)


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

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

The topic ‘How to place code above widgetized footer’ is closed to new replies.