Limited Support
Dear Clients and Partners, we wish you a Merry Christmas and a Happy New Year! May this season bring you joy, peace, and good times with your loved ones.
Our support will be limited during the holidays, and we will return to full service on January 7.
Thank you for your understanding.
We appreciate your support this year and look forward to working with you in the new year.
Happy Holidays!
This isn't really an issue, more of a plea.
Can you please find a way to enable voting to be suspended on certain comments or on certain articles?
You guys have been awesome in providing extra functionality on demand in the past, so I'm hoping you can also pull this off!
it would make a huge improvement to this admin's working life!
Hi Sophie,
You can use the following hook-code:
add_filter("wpdiscuz_comment_list_args", function ($args) {
if (in_array($args["post_id"], [X,])) {
$args["components"]["vote.html"] = "";
}
return $args;
});
Just replace the red marked value with the comma-separated post IDs where you want to hide voting buttons.
The code should be put in the active theme functions.php file.