WordPress.org

Ready to get started?Download WordPress

Forums

Rating-Widget: Star Rating System
[resolved] How to add the rating widget to posts on the blog front page (13 posts)

  1. AlanP57
    Member
    Posted 11 months ago #

    How can I add the voting widget to the posts on the front page of the blog?

    http://wordpress.org/plugins/rating-widget/

  2. AlanP57
    Member
    Posted 11 months ago #

    The answer must be something like:

    <?php rw_get_post_rating($post->ID, 'blog-post', false); ?>

  3. vovafeldman
    Member
    Plugin Author

    Posted 11 months ago #

    Hi @AlanP57, it should be active out of the box (also make sure the excerpts checkbox is selected). If it doesn't work, make sure your theme is using the_content() method to show the post's content. There's no need to explicitly add our php shortcode. But if you do want to explicitly do it, try this:
    <?php rw_the_post_rating($post->ID); ?>

    Please let me know if it worked.

  4. AlanP57
    Member
    Posted 11 months ago #

    Ok thanks vovafeldman. In our case we need to use rw_get_post_rating because the output must first go to a butter rather than to the screen.

    A follow up question, our theme displays multiple posts in a grid and this is interfering with the display of the like and dislike bubbles that appear over the thumbs. They only appear over the top left post no matter which post the mouse is over. The URL is http://shoespost.com/. For now, is there a way to disable the display of the bubbles? And we would be interested getting them to appear over the correct post. Thanks.

  5. vovafeldman
    Member
    Plugin Author

    Posted 11 months ago #

    That's very interesting bug. Yes, there's a way to turn it off, but if you don't mind keeping it for additional several days so we can resolve it that would be the best. Otherwise it would be impossible to re-create the bug. O.k?

  6. AlanP57
    Member
    Posted 11 months ago #

    Ok, we will leave it for you to debug. Thanks

  7. gwenm
    Member
    Posted 10 months ago #

    Hello, I can not get either to display Rating-Widget in home page and categories. But I have checked the boxes in the plugin administration. I tried to built <?php rw_the_post_rating($post->ID); ?> in my index.php but it appears in the sidebar file ..

    Thank's for support

  8. vovafeldman
    Member
    Plugin Author

    Posted 10 months ago #

    @gwenm you need to add <?php rw_the_post_rating($post->ID); ?> in your front page template file, not index.php

  9. gwenm
    Member
    Posted 10 months ago #

    Ok, thank you ;)

  10. milan24790
    Member
    Posted 1 month ago #

    Really awesome plugin. Thank for that.
    Default plugin widget display only post title and no of likes and dislikes i need to display post content as well as name author in widget...
    please help me to get this.
    Waiting for your comment on that...
    thanks a lot for your valuable time and help..

  11. RatingWidget
    Member
    Plugin Author

    Posted 1 month ago #

    Hi @milan24790, could you please explain what exactly do you want the rating to show?

  12. milan24790
    Member
    Posted 1 month ago #

    hey thanks for reply...
    actually default plugin widget show name of the post and no of likes and dis-likes...but i need to show content of that post..(post data)
    here is link of mysite...
    i used plugin widget at right side under "voting poll"...
    http://dnbinfotech.in/author/
    click on any of title and the page open...
    i need content in white box on that opened page to be in plugin widget under title of post and before no of likes & dislikes...

  13. fidanza
    Member
    Posted 2 weeks ago #

    I want my blog readers to vote on the entire blog, not on specific posts, with the voting widget and the resulting star rating apparent somewhere in my sidebar. How to?

Reply

You must log in to post.

About this Plugin

About this Topic