Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Solved] Showing number of comments on WP Widget?
Is there a way to show number of comments on the WP Forum widget?
Tagged:
0
Answers
echo '<span>'.(($Discussion->CountComments) - 1).'</span>';
after this line
echo '<li><a href="'.vf_combine_paths(array($link_url, 'discussion/'.$Discussion->DiscussionID.'/'.vf_format_url($Discussion->Name)), '/').'">'.$Discussion->Name.'</a></li>'; echo '<span>'.(($Discussion->CountComments) - 1).'</span>';
in widgets.php
wp-content/plugins/vanilla-forum/