Notifications
Clear all

Display Number of Likes... like in wpDiscuzz

3 Posts
2 Users
0 Reactions
166 Views
Posts: 9
 Trey
Topic starter
(@trey)
Active Member
Joined: 7 months ago

I tried asking on the Gvectors site since I am a paying member, but no one responded and now their site is currently down (oof). In wpDiscuzz, they have a feature that lets you choose to list the number of likes next to the like button under each comment. Why such a common feature isn't included in wpForo, is beyond me. Has anyone succeeded in accomplishing this... or am I missing something?

2 Replies
Tutrix
Posts: 1526
(@tutrix)
Noble Member
Joined: 5 years ago

Hi @trey 

check out the new wpForo - Advanced Reactions addon

or if you have knowledge in php, you can also edit the Template.php
modules > reactions > classes > Template.php

the code for the count looks like this

'. WPF()->reaction->get_post_reactions_count( $postid ).'

or with css class to customize

<span class="post_reactions_count"> '. WPF()->reaction->get_post_reactions_count( $postid ).'</span>
Reply
1 Reply
 Trey
(@trey)
Joined: 7 months ago

Active Member
Posts: 9

@tutrix thanks. I was trying to avoid the add-on since I already purchased several (in a package discount) and just need a like count to display... but the add-on is probably the cleaner option at this point. Can't help but be disappointed that it's an included option with their sister plugin.

 

Reply