Title: comments
Last modified: January 24, 2018

---

# comments

 *  [sidi_d10](https://wordpress.org/support/users/sidi_d10/)
 * (@sidi_d10)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/comments-257/)
 * Hi
    I am trying to display comments in my website pages but although i am enabling
   all the needed checkboxes nothing happens I have consultes with someone who said
   i have to take care of my the template file comments.php i located it but i don’t
   know what should i change there David
 * the file looks like that right now:
 * <?php if ( post_password_required() ) { return; } ?>
 * <section id=”comments” class=”themeform”>
 * <?php if ( have_comments() ) : global $wp_query; ?>
 * <h3 class=”heading”><?php comments_number( __( ‘No Responses’, ‘hueman’ ), __(‘
   1 Response’, ‘hueman’ ), __( ‘% Responses’, ‘hueman’ ) ); ?></h3>
 * <ul class=”comment-tabs group”>
    <li class=”active”><i class=”fa fa-comments-
   o”></i><?php _e( ‘Comments’, ‘hueman’ ); ?><span><?php echo count($wp_query->
   comments_by_type[‘comment’]); ?></span>
 * <i class=”fa fa-share”></i><?php _e( ‘Pingbacks’, ‘hueman’ ); ?><span><?php echo
   count($wp_query->comments_by_type[‘pings’]); ?></span>
    <?php if ( ! empty( $
   comments_by_type[‘comment’] ) ) { ?> <div id=”commentlist-container” class=”comment-
   tab”>
 * <?php wp_list_comments( ‘avatar_size=96&type=comment’ ); ?>
    <!–/.commentlist–
   >
 * <?php if ( get_comment_pages_count() > 1 && get_option(‘page_comments’) ) : ?
   >
    <nav class=”comments-nav group”> <div class=”nav-previous”><?php previous_comments_link();?
   ></div> <div class=”nav-next”><?php next_comments_link(); ?></div> </nav><!–/.
   comments-nav–> <?php endif; ?>
 * </div>
    <?php } ?>
 * <?php if ( ! empty( $comments_by_type[‘pings’] ) ) { ?>
    <div id=”pinglist-container”
   class=”comment-tab”>
 * <?php // not calling wp_list_comments twice, as it breaks pagination
    $pings 
   = $comments_by_type[‘pings’]; foreach ($pings as $comment) { ?> <li class=”ping”
   > <div class=”ping-link”><?php comment_author_link($comment); ?></div> <div class
   =”ping-meta”><?php comment_date( get_option( ‘date_format’ ), $comment ); ?></
   div> <div class=”ping-content”><?php comment_text($comment); ?></div> <?php }?
   >
 * <!–/.pinglist–>
 * </div>
    <?php } ?>
 * <?php else: // if there are no comments yet ?>
 * <?php if (comments_open()) : ?>
    <!– comments open, no comments –> <?php else:?
   > <!– comments closed, no comments –> <?php endif; ?>
 * <?php endif; ?>
 * <?php if ( comments_open() ) { comment_form(); } ?>
 * </section><!–/#comments–>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcomments-257%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/comments-257/#post-9897139)
 * This would be controlled by your theme. What theme are you using? Where did you
   download it from?
 *  Thread Starter [sidi_d10](https://wordpress.org/support/users/sidi_d10/)
 * (@sidi_d10)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/comments-257/#post-9897524)
 * The theme is Hueman
    Do you know how to fix the attached code above at file comments.
   php
 *  David

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘comments’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sidi_d10](https://wordpress.org/support/users/sidi_d10/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/comments-257/#post-9897524)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
