Title: problem with adding comments to single.php
Last modified: August 19, 2016

---

# problem with adding comments to single.php

 *  [qbs](https://wordpress.org/support/users/qbs/)
 * (@qbs)
 * [17 years ago](https://wordpress.org/support/topic/problem-with-adding-comments-to-singlephp/)
 * hello again,
    I want to list all of the comments for one post under it’s content
   this is my code for single.php:
 *     ```
       <!--item -->
                   <?php if (have_posts()) : ?>
                   <?php while (have_posts()) : the_post(); ?>
                   <div class="item">
                   	<div class="top">
                       	<div class="icon">
                           </div>
                           <div class="title">
                           	<h1><?php the_title(); ?></h1>
                               <p class="meta"><?php the_time('j.m.Y') ?> | Category: <?php the_category(', '); ?></p>
                           </div>
                           <div class="clear">&nbsp;</div>
                        </div>
                        <div class="text">
                           	 <?php the_content(); ?>
                        </div>
                        <div class="bottom">
                        	<div class="postComments">
                           	<a href="<?php comments_link(); ?>"><?php comments_number('comment','1 comment','% comments'); ?></a>
                           </div>
                           <div class="clear">&nbsp;</div>
                        </div>
                        <div class="line">&nbsp;</div>
                        <?php wp_list_comments();?>
                        <?php comment_text(); ?>
                   </div>
                   <!--end item -->
                   <?php endwhile; ?>
   
                   <?php endif; ?>
       ```
   
 * as you can see I’m trying to use `<?php wp_list_comments();?>` & `<?php comment_text();?
   >`but none of them work I don’t see any comments and I should see two…
    please
   help

The topic ‘problem with adding comments to single.php’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [qbs](https://wordpress.org/support/users/qbs/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/problem-with-adding-comments-to-singlephp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
