Viewing 1 replies (of 1 total)
  • Thread Starter raffaele-ita

    (@raffaele-ita)

    I’m not a developer but i tried to find a solution and now it works fine for me…so i made a little change in this way:

    in /includes/function.php at line 256 we have this code

    <div itemscope itemtype=”https://schema.org/Review”&gt;
    <div itemprop=”reviewRating” itemscope itemtype=”https://schema.org/AggregateRating”&gt; <meta itemprop=”ratingValue” content=”‘.$userTotal.'” />
    <meta itemprop=”bestRating” content=”5″/> <meta itemprop=”ratingCount” content=”‘.$usersReviewsCount.'” />
    </div>
    </div>

    if we change with this code

    <div itemscope itemtype=”https://data-vocabulary.org/Review-aggregate”&gt;
    <div itemprop=”rating” itemscope itemtype=”https://data-vocabulary.org/Rating”&gt; <meta itemprop=”itemreviewed” content=”‘.get_the_title( $id ).'”>
    <meta itemprop=”average” content=”‘.$userTotal.'” />
    <meta itemprop=”best” content=”5″/>
    <meta itemprop=”votes” content=”‘.$usersReviewsCount.'” />
    </div>
    </div>

    now in google rich snippet testing tool we have the stars and the votes of people that has voted…and not a number of reviews that don’t exist…
    hope this is ok…sorry if i did a mistake..but now it works very well for me with this change.
    thanks for your great plugin! ??

Viewing 1 replies (of 1 total)
  • The topic ‘this plugin show big mistake’ is closed to new replies.