WordPress.org

Forums

GD Star Rating IN Google search result (2 posts)

  1. mehdim
    Member
    Posted 3 years ago #

    Hi friend
    Please Hel me!
    I use "GD Star Rating" plugin,
    and i want to goole shows my post rating in google search
    ___
    But, when I test my page with Google richsnippets (http://www.google.com/webmasters/tools/richsnippets)
    I have this Erro:
    rating
    best = 5
    average = ۳٫۸
    Warning: Rating could not be normalized.
    count =
    votes = 5

    How I can normalize rating ?
    How I can fix this Error?

    Thanx a lot : )

  2. pmagony
    Member
    Posted 3 years ago #

    I was able to resolve this issue by modifying GD Star Rating code.

    They have a major flaw in their design, in which they "hide" the snippet data with inline CSS. Google doesn't like this and therefore doesn't render the ratings.

    Here's how you fix it:

    MAKE A COPY OF THIS FILE BEFORE YOU EDIT IT!

    Open: /plugins/gd-star-rating/gdragon/gd_google.php

    Edit the following line numbers 89 & 149 from:

    $hidden = $options["hidden"] ? ' style="display: none !important;"' : '';

    TO:

    $hidden = $options["hidden"] ? ' style="position:absolute;left:-9999999px;"' : '';

    Save, upload, sit tight for 24 hours and Google will start showing your rating inline with your results.

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic