WordPress.org

Ready to get started?Download WordPress

Forums

Recipe Card
[resolved] Review Ratings Microdata not to Google Spec (4 posts)

  1. zCaptainZero
    Member
    Posted 11 months ago #

    Hi,
    Just a small thing.
    The plugin outputs the review rating as:
    <div class="blog-yumprint-rating" itemprop="ratingValue" content="4" bestrating="4" style="display: none;">
    But as per Google's rich snippets troubleshooting page:
    https://support.google.com/webmasters/answer/1093493?hl=en#hidden
    the content must be visible to the user (ie. you can't use display:none).
    In stead, as per Google's Rich snippets - Review ratings page
    https://support.google.com/webmasters/answer/172705?hl=en
    You should use
    <meta itemprop="rating" content="4.5" />
    Which will still hide the content, but in a Google-safe way.
    Cheers,
    George.

    http://wordpress.org/plugins/recipe-card/

  2. zCaptainZero
    Member
    Posted 11 months ago #

    As a side note, you should also make note of the correct markup for ratings that don't use a 5-point scale (on the same page).
    https://support.google.com/webmasters/answer/172705?hl=en
    :)

  3. Yumprint.com
    Member
    Plugin Author

    Posted 11 months ago #

    Thanks, George! We actually just discovered this ourselves. We'll be fixing it in our next release. We should have just waited a day, and then you could have saved us a bunch of research :)

  4. zCaptainZero
    Member
    Posted 11 months ago #

    Haha. No dramas.
    I wish I HAD saved you some work because your plugin sure has saved me heaps :)
    Keep up the great work!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.