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 } ?>
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.
(@vikaswp)
10 years, 11 months ago
I am having problem with a plugin named Ratingwidget. Problem is that It’s not showing ratings for my comments. When I troubleshooted it, I found a problem with my theme’s comment section coding and a suggestion for the developer. Please go to the link for the same and help in fixing the issue.
http://rating-widget.com/support/troubleshooting/the-ratingwidget-wordpress-plugin-dont-show-ratings-on-my-comments-whats-wrong/#platform