Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Display Number of Likes... like in wpDiscuzz

3 Posts
2 Users
0 Reactions
442 Views
Posts: 26
 Trey
Topic starter
(@trey)
Eminent Member
Joined: 1 year 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: 1522
(@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: 1 year ago

Eminent Member
Posts: 26

@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