Recent searches
No recent searches
Closing Votes on Community Post
Answered
Posted Oct 29, 2021
Is there a way to close the ability to vote on a community post same as you would close a post for comments?
2
4
Recent searches
No recent searches
Posted Oct 29, 2021
Is there a way to close the ability to vote on a community post same as you would close a post for comments?
2
4 comments
Matthias Miltenberger
Hi DJ,
You can disable voting on community posts by commenting out the respective part in the HBS file article_page.hbs:
Cheers,
Matthias
0
Ifra Saqlain
Hi Dj Childs,
To disable the community post votes same as the comment section, follow the below steps:
1). Add the jQuery library into the document_head.hbs file.
Screenshot for the same:
2). Copy the below script code and paste it at the bottom (After the all existing script code) into your script.js file.
Screenshot for the same:
3). Copy the below CSS code and paste it at the bottom area into style.css file.
Screenshot for the same:
4). Now, customize your default post vote HTML code on community_post_page.hbs file.
Replace your default post-vote code with the below-given code.
Screenshot for the same:
5). When you have done with those few steps, save and test.
6). Click on the vote sum area on the community post page.
If any confusion, do let me know :)
Thanks
Team Diziana0
Dj Childs
Will shut down voting on the entire community or just on the specific post that these steps are executed on?
0
Ifra Saqlain
It's for all community posts if you want it only for one (specific post) then it's also possible with little bit of customization.
0