• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Genesis footer not at the bottom

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Genesis footer not at the bottom

This topic is: resolved

Tagged: footer, genesis hooks, widget

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by David Chu.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 1, 2015 at 1:34 pm #146387
    hmistler
    Member

    Hello! I created a widget that I am using on some pages; I want it to appear before the footer on specific pages. Here is the code I am using in my functions.php

    
    //* Add About Me widget
    add_action( 'genesis_before_footer', 'about_me' );
    function about_me() {
    		if ( is_page(array('illustration', 'about', 'design', 'blog') ) )
                    genesis_widget_area( 'about-me', array(
    		'before' => '<div class="about-me widget-area"><div class="wrap">',
    		'after'  => '</div></div>',
        ) );
    
    }

    Yet, it appears BELOW the Genesis Footer widgets that were already in my theme. After using the Hook guide, I can see these widgets are in the Before Footer hook. I can't figure out how to change their position from "before footer" to "footer", so maybe I need to change my custom widget's order, or move it? But I don't know where to go with it.

    http://www.haleymistler.com
    April 2, 2015 at 5:35 pm #146501
    David Chu
    Participant

    Hi,
    Good sleuthing on your part! I'd say try genesis_after_content_sidebar_wrap hook instead of before_footer, but you don't have to. Try this:

    add_action( 'genesis_before_footer', 'about_me', 5 );

    Note the 5 priority. 10 is the default, so this should pull you up above the footer widgets. ๐Ÿ™‚

    Cheers, Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

    April 3, 2015 at 10:32 am #146565
    hmistler
    Member

    Thank you so much, that worked!

    April 3, 2015 at 10:55 am #146569
    David Chu
    Participant

    Haley,
    Glad to hear it! And your site is looking great.

    With any of the HTML5 Genesis themes, priorities become very important. Not just because they want to make things tough, but largely because you have so many HTML tags that repeat, such as SECTION, ARTICLE, and so on. So to get something where you want it, sometimes finely-grained priorities are needed. And what may work on one theme may need adjustments on another, depending on the way the theme is coded.

    I have blog posts about using priorities with the HTML5 themes, as well as github gists. And my recommended priority fixes can go stale, for instance, when a plugin is involved, it changes, and I don't hear about it. ๐Ÿ™‚

    Enjoy,
    Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Genesis footer not at the bottom’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble