Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

Disabling downvotes/dislikes

3 Posts
2 Users
0 Reactions
1,888 Views
(@skettyd)
Member Customer
Joined: 7 years ago
Posts: 2
Topic starter  

We would like to enable voting but only if we can disable the downvote option. We just want a 'like' or 'heart' option. Is that possible?



   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6581
 

Hi @skettyd,

I'm sorry, but wpDiscuz doesn't have such a feature.

If you'd like to hide the Vote Down option, you should use the following CSS code, add it in Dashboard > Comments > Settings > Styling > "Custom CSS code" textarea:

span.wc-vote-result.wc-vote-result-dislike, span.wc-vote-link.wc-down.wc-separate.wc_vote.wc_not_clicked {
display: none !important;
}

 We just want a 'like' or 'heart' option. 

Please add the following code in your active theme's functions.php file:

if (!function_exists('custom_vote_up_icon')) {
function custom_vote_up_icon($voteFaUpImg, $comment, $currentUser) {
return ["fas", "fa-heart", "wc-vote-img-up"];
}
}


   
ReplyQuote
(@skettyd)
Member Customer
Joined: 7 years ago
Posts: 2
Topic starter  

@astghik

I'll test this out - thank you!!!



   
ReplyQuote
Share:
Scroll to top