• 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

Comments on 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 › Comments on Front Page

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 11 years ago by Jenny.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 14, 2014 at 7:53 am #114224
    Jenny
    Member

    i found out how to put comments on the front page (ie: photo blog posts) with a normal wordpress theme, but im not sure the same applies to a genesis theme. so i'm wondering if someone could point me in the right direction as to go about doing this with my genesis install?

    July 14, 2014 at 8:25 am #114226
    Genesis Developer
    Member

    try this code once. You can add the code in functions.php file

    remove_action( 'genesis_after_entry', 'genesis_get_comments_template' );
    add_action( 'genesis_after_entry', 'genesis_get_comments_template_after_post' );
    function genesis_get_comments_template_after_post(){
      global $post, $more;
    
    	if ( ! post_type_supports( $post->post_type, 'comments' ) )
    		return;
    
    	if ( is_home() || is_front_page() )
    		comments_template( '', true );
           elseif ( is_singular() && ! in_array( $post->post_type, array( 'post', 'page' ) ) )
    		comments_template( '', true );
    	elseif ( is_singular( 'post' ) && ( genesis_get_option( 'trackbacks_posts' ) || genesis_get_option( 'comments_posts' ) ) )
    		comments_template( '', true );
    	elseif ( is_singular( 'page' ) && ( genesis_get_option( 'trackbacks_pages' ) || genesis_get_option( 'comments_pages' ) ) )
    		comments_template( '', true );
    }

    Download Genesis Featured Posts Combo Widget | Simple Grid Layouts Plugin for Posts, CPTs and terms
    You can request new tips/help.

    July 15, 2014 at 9:31 am #114399
    Jenny
    Member

    Don't think it worked T^T

    http://so-very.me/test/

    July 16, 2014 at 8:33 am #114530
    Jenny
    Member

    never mind i had to put in a bit of extra code i found somewhere else to get it to work:

    global $withcomments; 
    $withcomments = 1;
    comments_template( ' ', true );
  • 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

© 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