Forums
Home / Plugins / Widget
(@faoliveira)
11 years, 2 months ago
I have this widget that shows the latest comments http://pastebin.com/C6Kqa6yp
On line 69 i wanna to show only the excerpt, but if i put <?php comment_excerpt( $comment_ID ); ?> doesn’t work, shows the excerpt of comments all equal in widget.
Please, someone can help? Thanks
(@alchymyth)
http://codex.wordpress.org/Function_Reference/comment_excerpt
try:
<?php comment_excerpt( $comment->comment_ID ); ?>
It really works. Thanks
(@faoliveira)
11 years, 2 months ago
I have this widget that shows the latest comments http://pastebin.com/C6Kqa6yp
On line 69 i wanna to show only the excerpt, but if i put <?php comment_excerpt( $comment_ID ); ?> doesn’t work, shows the excerpt of comments all equal in widget.
Please, someone can help? Thanks