Two the_ratings associated with one post, second one doesn't update
-
Hi There.
We have two the_ratings() call on an archive page, one hidden by CSS at all times dependant on the size of the screen.
An issue we are having is whilst the top the_ratings call works fine, the second one doesn’t.
I suspect the problem is that by including the ratings twice, the javascript that handles updating the ratings automatically is looking for #post-ratings-id (where id is a number) on the page. Because we have two, it updates the first version of the ratings. This is hidden by CSS.
Do you have any ideas?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Two the_ratings associated with one post, second one doesn't update’ is closed to new replies.