Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi vikaswp. You said:

    I found a problem with my theme’s comment section coding

    Can you post the code you found that is a problem?
    For normal comments the theme uses the default WP wp_list_comments function:

    <ol class="commentlist">
       <?php wp_list_comments( 'avatar_size=96&type=comment' ); ?>
    </ol><!--/.commentlist-->

    For pings it uses the comment_text function as suggested in the link you posted above:

    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>
       </li>
    <?php } ?>
    Thread Starter vikaswp

    (@vikaswp)

    Actually I didn’t get what I really need to do? A little bit more information would be appreciated.

    For the actual comments section the theme doesn’t build the structure. It uses the default WordPress function “wp_list_comments”. I’m not sure if that uses “comment_text()” or “get_comment_text()” or something else, but it’s in the WP core code. For pings, the theme does build the structure and it already uses the “comment_text()” function as was recommended by the support topic you posted. You said you had found a problem with the theme coding. If you can post that code I’ll take a look at it. Other than that you might go back to the plugin support center and see if they have any other suggestions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with comment’ is closed to new replies.