Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having more than once the same rating on a page? #137

Open
bluantinoo opened this issue Apr 4, 2019 · 1 comment
Open

Having more than once the same rating on a page? #137

bluantinoo opened this issue Apr 4, 2019 · 1 comment

Comments

@bluantinoo
Copy link
Contributor

bluantinoo commented Apr 4, 2019

Hi @lesterchan
I'm using your plugin in a geo-index site.
This means page archives has results in 2 places: standard post list and a google map.
I've chosen to show the rating both in the list than in the google map.

But as on postratings-js.js the jQuery selector is an ID (#ratings_postid...) voting one post makes disappair the stars in one place.

Would not be possible to use a class instead of the ID as selector?

Would be very nice being able to show the rating also on secondary loops.

@lesterchan
Copy link
Owner

That is sadly a bad design I did in the past. Unfortunately, I have no time to fix it and unlikely anytime soon.

So, I agree class based will be better. If you want to help, you can help by sending in a PR =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants