Add ‘already voted’ class to container
-
Hi!
I want to hide the vote count until one has voted. I’ve seen (as you already answered to others) that doing that via php is basically rewriting a lot of the plugin.
So I’m trying to add a css class to the container element of the buttons just after someone votes (or at page load if localstorage exists) so that it’ll be possible to hide/show the results via css.
Do you have some hints on how to do it?Btw, nice and lightweight plugin!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add ‘already voted’ class to container’ is closed to new replies.