WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
possible to display the ratings in google search? (9 posts)

  1. Umarfaruk Mhd
    Member
    Posted 2 years ago #

    Hello,

    i wonder is there option available to show the post ratings in google search results?

    if so what should i do?

    please let me know.

    http://wordpress.org/extend/plugins/wp-postratings/

  2. apostaganha
    Member
    Posted 2 years ago #

    x2

  3. apostaganha
    Member
    Posted 2 years ago #

    Lester can you give us a help here?

  4. Miguel Peixe
    Member
    Posted 2 years ago #

    It does include semantic attributes for the rating, using schema.org's "product" and "aggregaterating".

    I still think it's not a good idea to use "product" as a default and non-customizable semantic for my content, since I'll use it for recipes, local business and other stuff...

    Would be nice to have it customizable, at least.

  5. dassekaka
    Member
    Posted 2 years ago #

    @Miguel - You can change the attributes inside the php file (wp-postratings).

    However. It won't work. He uses a span instead of a div and google doesn't understand the rich snippets correctly then. Because everything has to be inside a div with the itemscope itemtype.

    So, change from span to div in the php file on row 485. Then it will work. You can test here: http://www.google.com/webmasters/tools/richsnippets.

    Hope that helps you!

  6. Miguel Peixe
    Member
    Posted 2 years ago #

    I already did, actually, I removed the rich snippets implementation, but I really hate doing that. Now I have to keep checking the updates and change everytime... It should have a switch-off button on the admin settings.

    I built my own rich snippets system, based on my website contents.

    About the div/span thing, both of them work with rich snippets, it's the attribute that counts, doesn't matter the element.

    Cheers

  7. dassekaka
    Member
    Posted 2 years ago #

    Tried with span and it didn't work so I changed to div and it now works. So it has to have some effect.

    But I agree. Should be more customizable. The author of the plugin is no longer working actively with development of his plugins. SO we'll have to wait and see.

    Ciao

  8. Lester Chan
    Member
    Plugin Author

    Posted 2 years ago #

    Div and span works just fine, I tested with span on the Google Rich, try this url http://lesterchan.net/wordpress/2012/06/14/wordpress-3-4/ on http://www.google.com/webmasters/tools/richsnippets it is using span.

    I can make it customizable no problem, maybe a switch to enable or disable it and a template variable juts for that.

  9. Umarfaruk Mhd
    Member
    Posted 2 years ago #

    Hey folks,

    FYI: i found this plugin. it also have a "Google Rich Snippets" feature.

    http://wordpress.org/extend/plugins/gd-star-rating/

    Thanks for your comments :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic