• 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

After Entry Widget

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 › After Entry Widget

This topic is: not resolved
  • This topic has 5 replies, 3 voices, and was last updated 10 years, 4 months ago by Susan.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 28, 2016 at 9:38 am #184616
    odnt
    Member

    I'm using the Genesis After Entry Widget with the Aspire Pro theme. To show the After Entry content with posts and pages, I'm using this code:

    Add Genesis After Entry Widget to Pages and Custom Post Types


    This works fine, except for the page that uses the Blog template. Any suggestions on how to show the After Entry for the page that uses the Blog template?
    Thanks!

    May 12, 2016 at 9:59 pm #185537
    Christoph
    Member

    Hi,

    you can try changing the function as follows:

    function amethyst_after_entry() {
    
    if ( is_singular(array('post', 'page')) || is_home())
    
            genesis_widget_area( 'after-entry', array(
                'before' => '<div class="after-entry widget-area">',
                'after'  => '</div>',
            ) );
    
    }

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    May 13, 2016 at 8:24 am #185565
    odnt
    Member

    Thanks for your help. Unfortunately, I'm not seeing any changes.

    May 13, 2016 at 8:53 am #185566
    Christoph
    Member

    Works for me...
    Empty your caches (Caching plugin, Hosting, Browser,...).
    And just to make sure, you only changed the function and left everything else the same?

    // Add support for after entry widget
    add_theme_support( 'genesis-after-entry-widget-area' );
    
    // Remove after entry widget
    remove_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' );
    
    // Add after entry widget to posts and pages
    add_action( 'genesis_after_entry', 'amethyst_after_entry', 9 );
    function amethyst_after_entry() {
    
      if ( is_home() || is_singular(array('post', 'page')))
    
            genesis_widget_area( 'after-entry', array(
                'before' => '<div class="after-entry widget-area">',
                'after'  => '</div>',
            ) );
    
    }

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    May 13, 2016 at 12:19 pm #185583
    odnt
    Member
    This reply has been marked as private.
    May 14, 2016 at 11:22 am #185632
    Susan
    Moderator

    @odnt:

    You have marked your response "private", which means that the only people who can see your reply are (a) the original poster (in this case, you), and (b) moderators and admins (me). If you want anyone to see your reply, you shouldn't make it "private".

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

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