Ajax for all ratings in archives
-
On archives it only shows ratings for the first post. I read it’s a limitation.
I was using “GD ranting system” plugin and allows ajax for archives too. I don’t see what the problem is. Maybe grab all posts id’s and do a single ajax call for all needed data? i don’t know maybe look at how they do it as reference ??If not, maybe limit the “ajax” feature to is_single only? that way at least i can show the ratings on archives AND keep ajax on single post?
And last question. The rich snippets always show up, they should be also limited to is_single, I don’t think having many AggregateRating on a single page is valid.
I solved this on my end settings $structuredData to empty if is single. But i believe it’s safe to make it core too.
- The topic ‘Ajax for all ratings in archives’ is closed to new replies.