Support » Plugins and Hacks » [Resolved] Some suggestions

[Resolved] Some suggestions

  • I looked at your plugin as I was in the process of creating a review website. Well done with keeping it simple.

    1. In ratings CSS images are loaded from absolute URL’s make it relative to avoid conflict. Change rating image url to (‘../img/star.0.png’)

    2. Using general function names. It’s not good practice to use names such as extendcomment etc.. using something more unique. This will ensure you don’t have clash with other plugins.

    3. Check your schema.org settings. It’s not according to spec. See here http://microformats.org/wiki/hreview-aggregate. Tool used to check . Microformats chrome extension.


Viewing 3 replies - 1 through 3 (of 3 total)
  • I did read up on schema org and this should be the aggregate format you need to use to display them properly

    <div itemscope itemtype=”http://schema.org/Review”>
    <div itemprop=”reviewRating” itemscope itemtype=”http://schema.org/Rating”>

    <meta itemprop=”worstRating” content=”1″><span itemprop=”ratingValue”>o</span> / <span itemprop=”bestRating”>5</span> stars</div>

    Obviously need to replace Best rating and rating value with respective variables

    Plugin Author Maximilian Ruthe


    Hi Arulpr,
    thank you very much for the suggestions and am glad you like it.
    I just published 1.0.7 which includes your suggestions, however the schema.org markup requires an extra step. Here is an example local business that you can test with the rich snippet tester.
    The difference is that the “Review” Itemscope, is contained within a reviewable item. In this case, the whole article contains the reviews, which is marked up as:
    <article itemscope itemtype=”http://schema.org/LocalBusiness”>

    <div itemscope itemtype=”http://schema.org/Review”>…</div>


    Now, the plugin contains even more markup, but requires wrapping reviews in a valid Itemscope (Article, Restaurant, LocalBusiness, etc.).
    Hope that helps,

    I don’t have vast knowledge about schema.org myself. I guess this tool is handy http://microformats.org/code/hreview/creator

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Some suggestions’ is closed to new replies.