Forums
Forums / Plugins / Widget
(@faoliveira)
13 years, 4 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.ww.wp.xz.cn/Function_Reference/comment_excerpt
try:
<?php comment_excerpt( $comment->comment_ID ); ?>
It really works. Thanks
The topic ‘Widget’ is closed to new replies.
(@faoliveira)
13 years, 4 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