• Resolved thinkmedia

    (@thinkmedia)


    Hi, I could really use some help.

    Essence Pro doesn’t come with any footer widgets.
    I have installed Genesis Simple Footer Widgets.
    Works fine.
    These three widgets are nicely placed.
    Logo / SM Icons / Search Box

    Except, it’s above two other elements at the bottom of the page.

    How do I unregister the GSFW and reregister it below everything?

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dooley

    (@joedooley)

    You can reposition the footer widgets by unhooking them from their default location and then hooking them in the ideal location.

    For example, the code below will move the footer widgets to the Genesis footer area. You can add this code to your functions.php.

    Where do you want the footer widgets to render?

    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    add_action( 'genesis_footer', 'genesis_footer_widget_areas');
    Thread Starter thinkmedia

    (@thinkmedia)

    JOE!!

    Thank you!
    I knew it was simple but for the life of me, could not figure out the specifics.

    Your code worked, although since there is already another item in “genesis_footer” is there a way to place things in order?

    Plugin Author Joe Dooley

    (@joedooley)

    No problem.

    To change the ordering within the genesis_footer hook you can add a priority. A lower priority prepends the footer widgets before the items in the footer whereas a higher priority appends the footer widgets after your footer content.

    
    /**
     * Prepend Genesis footer widgets.
     */
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    add_action( 'genesis_footer', 'genesis_footer_widget_areas', 1 );
    
    /**
     * Append Genesis footer widgets.
     */
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
    add_action( 'genesis_footer', 'genesis_footer_widget_areas', 99 );

    See the documentation for more information about the priority parameter for the add_action method.

    Let me know if you need further assistance.

    Thanks,
    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘GSFW being place above other elements’ is closed to new replies.