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

  • dries863

    (@dries863)


    Hi,

    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="http://www.scribbr.nl/scriptie/voorwoord-van-de-thesis/"><div style="display: none;" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
    <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 🙂

    http://wordpress.org/extend/plugins/wp-postratings/

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

    (@gamerz)

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

    dries863

    (@dries863)

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

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

    Plugin Author Lester Chan

    (@gamerz)

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

    dries863

    (@dries863)

    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.