WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The site is www.timhaighreadsbooks.com. I want any comments to display on the home page. How can I achieve that, please? Johnny

share|improve this question
Do you want ALL comments on the site to display on the front page, or only those made on that page? – shea Dec 4 '12 at 10:58

This is something works for me. See if it works for you. Here are step-by-step instrucions:


In your theme's loop-single.php, look for this:

<?php comments_template( '', true ); ?>

Replace it with this:

<?php global $withcomments; $withcomments = 1; comments_template( '', true ); ?>


Create front-page.php with this content:

 * The template for displaying all pages.
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site will use a
 * different template.
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0

get_header(); ?>

        <div id="container">
            <div id="content" role="main">

            /* Run the loop to output the posts.
             * If you want to overload this in a child theme then include a file
             * called loop-index.php and that will be used instead.
             get_template_part( 'loop-single' );                 

            </div><!-- #content -->
        </div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?> 
share|improve this answer

Create a child theme with a front-page.php and use get_comments() to fetch the comments you need.

share|improve this answer

Try going to Settings -> Reading -> and set home page (any of your templates with posts) or any category name.

share|improve this answer

You need to place this in your index page code, in the place where you want to display your comments:

    global $withcomments;
    $withcomments = true;
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.