Help > Forum > Topics & Posts > Hiding who disliked a post
Hiding who disliked a post
Users can see who disliked a post by clicking the number which appears next to the dislike icon in a post. You can disable this option for general users and only allow administrators to see who disliked posts by following the instructions below:
- Log in to your Website Toolbox account.
- Click the Appearance link.
- In the Appearance menu, click the HTML link.
- Insert the following code into the Forum Head Tag HTML Code textbox:
- Save the changes.
<script>
document.addEventListener("DOMContentLoaded", function() {
var isAdmin = (jQ(".header-wrapper .user-panel .admin_user").length > 0) ? 1 : 0;
if (!isAdmin && jQ("a.postLikeDislikeCount").length > 0) {
jQ("a.postLikeDislikeCount[id^='total_vote_down_count_']").css("pointer-events", "none");
}
});
</script>
You can also turn off the dislike option.
If you still need help, please contact us.