• 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

Add Widget For(Horizontal Grid) Below Content on Genesis Front Page

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 › Add Widget For(Horizontal Grid) Below Content on Genesis Front Page

This topic is: not resolved

Tagged: add content widget, add grid, genesis front page, static front page

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 5 months ago by TonySan1.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 20, 2017 at 3:21 pm #201672
    TonySan1
    Member

    Hello forum. I hope you all are doing well. My problem today is that I can't seem to get this widget code to display my widget area. What I want to display in this area is horizontal grid containing category blog post excerpts and images with link to the full blog post. Can you give me the best way to do this? Below is the code I am using now to create the widget Can you tell me where its wrong or if there is a better method for doing what I want to do on my front page? Thank you for your help and expertise.:
    `genesis_register_sidebar( array(
    'id' => 'below-content-widget',
    'name' => __( 'below content Widget', 'genesis' ),
    'description' => __( 'This is the widget area below content on front page.', 'genesis' ),
    ) );

    add_action( 'genesis_after_post_content', 'genesis_add_post_content' );
    function genesis_add_post_content() {
    if ( is_page('73') )
    genesis_widget_area ('below_content_widget', array(
    'before' => '<div class="below-content-widget"><div class="wrap">',
    'after' => '</div></div>',
    ) );
    }

    February 20, 2017 at 3:42 pm #201673
    TonySan1
    Member

    I fixed the code I now have my widget where I want It. I'm still not sure that this is the best way to show a horizontal grid showing my blog posts excerpts, images and links to the full blog post. Any Ideas?

    February 20, 2017 at 3:44 pm #201674
    Victor Font
    Moderator

    You didn't mention the theme. It makes a difference which hook to use. genesis_after_post_content is an old XHTML theme hook. If you are using HTML5, you should use genesis_entry_footer.


    Regards,

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

    February 20, 2017 at 6:45 pm #201681
    TonySan1
    Member

    Hi Victor. Thank you so much for your advice. I am using the Generate Pro theme and I did change the older theme hook and my widget is displaying fine. I would however like to know if you know a good method of adding a horizontal grid to display blog posts excerpts with images and link to the full post? If you do please let me know about it. Thank you again. 😉

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