• 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

can't add widget area after 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 › can't add widget area after footer

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 6 years ago by SRD.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 2, 2017 at 3:34 am #202318
    SRD
    Member

    Hi. The following code is not producing anything on the front end when I add a "Custom Menu" to the "After Footer" widget area:

    genesis_register_sidebar( array(
    	'id'          => 'after-footer',
    	'name'        => __( 'After Footer', 'parallax' ),
    	'description' => __( 'This is the area at the very bottom of the page.', 'parallax' ),
    ) );
    
    add_action( 'genesis_after_footer', 'after_footer_widget_area', 5 );
    function before_footer_widget_area() {
    	genesis_widget_area( 'after-footer', array(
    		'before' => '<div class="before-footer"><div class="wrap">',
    		'after'  => '</div></div>',
    	) );
     
    }

    Nothing new displays on the front end.

    Help appreciated.

    http://www.greenhomeloansaustralia.com.au/
    March 2, 2017 at 6:42 am #202330
    Victor Font
    Moderator

    You have an error in your code. You're are calling a function named 'after_footer_widget_area' in your add action, but your function is actually named 'before_footer_widget_area'


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 2, 2017 at 6:56 am #202334
    SRD
    Member

    ah okay, thanks Victor.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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