Support » Plugin: WP-PostRatings » Rich Snippet for thumbs up/thumbs down

  • dries863



    I’ve configured WP-Postratings so a user can give a Thumbs-Up(+1) or Thumbs-Down (-1).

    The Rich Snippet is displayed like this:

    <meta itemprop="url" content=""><div style="display: none;" itemprop="aggregateRating" itemscope itemtype="">
    <meta itemprop="bestRating" content="2">
    <meta itemprop="ratingValue" content="1">
    <meta itemprop="ratingCount" content="1">
    <meta itemprop="reviewCount" content="1">

    As you can see bestRating is somehow set to 2 instead of 1. This results in incorrect the RichSnippets.

    How should I config WP-Postratings Thumbs-up/Thumbs-down for the Rich Snippets to display the correct results?

    Thanks 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan


    You can change it on line 1227 of wp-postratings.php $ratings_meta .= '<meta itemprop="bestRating" content="'.$ratings_max.'">';



    Thanks for the work-around. This will work for now.

    Can fix this “thumbs-up” bug in a future release?

    Plugin Author Lester Chan


    Been pretty busy, but added to my to-fix list



    Thanks Lester 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Rich Snippet for thumbs up/thumbs down’ is closed to new replies.