• 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

Lifestyle Pro — Where's the space b/n the sidebars and footer?

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 › Lifestyle Pro — Where's the space b/n the sidebars and footer?

This topic is: not resolved

Tagged: footer, Simple Hooks

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 6 months ago by Krista.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 12, 2014 at 11:24 pm #131373
    titus2homemaker
    Participant

    I'm trying to place an ad block -- preferably through Simple Hooks, although I can hard-code it if I really have to -- above the footer widgets and below everything else (sidebars, content, prev/next navigation, etc.). I cannot for the life of me figure out what this spot is called.

    Using the "before the footer" hook places it before the border-looking strip at the bottom of the page that holds only the copyright information (after the widgets most people think of as the "footer"). Nothing else I try that's listed between the primary sidebar and this area in Simple Hooks seems to do anything. (That is, I put my code in there and it doesn't output anything at all.)

    What should I be looking for?

    http://www.titus2homemaker.com
    November 14, 2014 at 10:48 am #131525
    Krista
    Member

    You need to make the make the priority lower than the footer widgets. For example:

    add_action( 'genesis_before_footer', 'test_widget_section', 5 );
    function test_widget_section() {

    genesis_widget_area( 'test-widget', array(
    'before' => '<div class="testing"><div class="wrap">',
    'after' => '</div></div>',
    ) );
    }

    I used 5 which hooked it in before the footer widgets.

    I hope this helps!

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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