GD Star Rating
Rich Snippet not showing in Google (19 posts)

  1. domainmadness
    Posted 4 years ago #

    Thanks for this awesome plugin.

    I have a problem that is not directly caused by your plugin. When Google index my site with GD Star Rating, it seems like ratings are not loaded fast enough and I can see from google cache that from Googlebot point of view my sites only show "GD Star Rating - Loading...".

    Any tips how to avoid this and get those nice looking stars under SERPs?


  2. Pattaya_Web
    Posted 4 years ago #

    Having the same problem with Weaver II theme using The Cart Press plugin. It's not just appearing on the product pages, but also on the blog pages.

    Seems it was working fine up until the recent update.

    Stars are showing on the pages but cached pages are only showing GD Star Rating, A WordPress rating system", and then the rating based on the total number of votes.

    When I check a page in Webmaster tools it shows:

    fn = Robert
    nickname = Robert
    photo = http://1.gravatar.com/avatar/d231bb13d019b3539fe67fcd0fc54c47?s=40&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40
    fn = joe
    nickname = joe
    photo = http://0.gravatar.com/avatar/2c1a96faa04b26eb4f58aedfbe338795?s=40&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40
    fn = HIV Home Kit rapid home HIV instant test kits
    url = http://hivhomekit.com/
    photo = http://1.gravatar.com/avatar/5775d72be671c2a0a627163d44e66c01?s=32&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D32
    fn = Rakti
    nickname = Rakti
    photo = http://0.gravatar.com/avatar/855a1abbe8f9784caab055584f505229?s=40&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D40
    entry-title = Rapid HIV instant test kits
    entry-content = Price Units $13.99 (USD) Buy 2 or more HIV Home Kit rapid HIV instant test kits & save! Buy 1 HIV Home Kit rapid HIV instant test kit $13.99 + postage SAVE 10% Buy 2 HIV Home Kit rapid HIV...
    name = Permalink to Rapid HIV instant test kits
    rel = bookmark
    url = http://hivhomekit.com/product/hiv-instant-test-kits/
    Warning: Missing required field "updated".
    Warning: Missing required hCard "author".

    I have no user named Joe, Robert or Rakti on this account.

  3. pmagony
    Posted 4 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:


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

    Edit the following line numbers 89 & 149 from:

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


    $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!

  4. domainmadness
    Posted 4 years ago #

    Will make changes asap and I'll let you know if this works. Thanks a lot for the tip!

  5. Pattaya_Web
    Posted 4 years ago #

    Thanks pmagony. I just made the changes and also wait to see if this helps.

  6. pmagony
    Posted 4 years ago #

    Did it work?

  7. Pattaya_Web
    Posted 4 years ago #

    Unfortunately not for me. Not showing up in snippets or Webmaster tools.

    Thanks for the suggestion though.

    The really annoying thing is I've got it working fine on other sites with the exact same settings, including other sites based on Weaver and it was working fine up until one or two updates ago and then it just stopped.

  8. Pattaya_Web
    Posted 4 years ago #

    As the developer is taking no interest in this unless he's paid for support here is a solution that worked for me.

    Log in to your CPanel and go to phpMyAdmin
    Locate the appropriate databse
    Export the tables that contain your ratings, such as:

    Go to the WordPress dashboard and then to GDSR / settings / database maintenance
    Delete all database tables

    Then to / Remove settings and remove all plugin settings and all the saved widgets.

    Then to / Full Uninstall and click Uninstall. Note that the plugin does NOT become inactive after this as stated so then go to

    Installed plugins and delete GDSR

    Perform a clean install and go back to phpMyAdmin and import the tables exported earlier.

    After all of this go to Webmaster Tools and you should immediately see your stars reappear in Rich Snippets Testing Tool along with all of the votes you previously had.

    As I posted here and on the GDSR website, this error popped up in some of the websites we run GDSR on after one of the maintenance updates recently.

    This is the second time we've had to do do a clean install like this after a maintenance update - the first time we lost hundreds of review ratings.

    Give it a day or two and then check your server error logs to see if the reinstall stops GDSR throwing errors.

    Hope this helps others.

  9. brando71
    Posted 3 years ago #


    It worked like a charm for me!

  10. Pattaya_Web
    Posted 3 years ago #

    @ brando71

    Glad it worked for you :)

  11. zracx
    Posted 3 years ago #

    thanks pmagony, it works.

  12. Lejla
    Posted 3 years ago #

    Hi to all
    I have a question.
    Since 2 Month, the "GD Star Rating Plugin" is installed. Rich Snippet Tool recognize the [code] but stars aren't show in Google Search Result.
    Do I need the fix from "Pattaya_Web".
    THank you fro any respond.

  13. odoremieux
    Posted 3 years ago #

    Another way is go to the GD star ratting settings, click on the Special Tab
    Then disable
    "Snippet will be renedered hidden on the page (style display set to none)."

    Google doesn't display the ratings as a snippets when those ratting are hidden for the end user

  14. S3nd41
    Posted 3 years ago #


    I disabled that option but my ratings still don't show on the Rich Snippet Testing Tool.

    What can I do to fix this besides messing around with the mysql tables?


  15. S3nd41
    Posted 3 years ago #

    Tried the uninstall/reinstall solution posted by Pattaya_Web but it's still not working :\

  16. S3nd41
    Posted 3 years ago #

    Ok, the problem in my case was that I was outputting Star Ratings like this:

    <?php wp_gdsr_render_article(10, false, 'crystal', 30); ?>

    and you need to render it through automatic output through:

    <?php the_content(''); ?>

    Since I was using Magic Fields to output the content I didn't have it at all. Hope this helps someone else!

    EDIT: I didn't want the ratings to get automatically positioned on my content div so I ended up using:

    <?php wp_gdsr_render_article(10, false, 'crystal', 30); ?>
    <?php do_action( 'gdsr_gsr_insert_snippet'); ?>

    To display the ratings and the necessary snippet for Google. Disabled auto insertion of rating on individual posts and then the content output stopped displaying the ratings. (You should replace the render_article definitions with your custom style.)

  17. Yogesh Singh
    Posted 3 years ago #

    Well, i have a related issue, got this post while googling for a solution. Have already posted to many Forums but no response.

    Plugins Using: WP eCommerce, GD Star Rating, WP Super Cache.

    Status: GD Star Rating is working excellent for all Posts, Pages and Products.

    The issue is with the rich snippets, though the rich snippets are showing up for Posts & Pages on Google but not for Products. Don't know what to do. Please help. The base domain is: http://www.allcellrepairs.com

  18. ROKO_WP
    Posted 3 years ago #

    Maybe i can help you. Sorry for my bad english (i'm from Ukraine).
    This plugin conflict with All in One Seo pack.
    Also it's don't display Microformats for google in html source code of your site in browser. That's why it's does not work on Google rich snippets tools.
    <span class="hreview-aggregate"><span class="item"><span class="fn">Article name</span></span>, <span class="rating"><span class="average">5.0</span> out of <span class="best">5</span> based on <span class="votes">1</span> rating <span class="summary"></span></span></span>

    - take reserve copies of your site.(i work on start-up on localhost)
    - install Platinum SEO Pack
    - you will see "Migrate from All in one SEO"
    - then disable All in One Seo...

    Maybe you will need to reactivate gd-rating...
    or look for another seo-plugins=) but it look like All in one seo.

    PS Also i use APC+gzip+some tweeks template and htacces+DB Cache Reloaded Fix+ minimum plugins + no cashing built-in-plugins =
    main page
    [SQL :8] [Time: 0.172] [Mem: 4.76mb]
    control management page
    [SQL :35] [Time: 0.435] [Mem: 10.08mb]

  19. uldisx1
    Posted 3 years ago #

    Hello! For my blog, solution was realy simply. I update all plugins, but after that i re-active RD Star plugin and now all was working . And i use All In One SEO :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic