Support » Plugin: Rating-Widget: Star Review System » How to add the rating widget to posts on the blog front page

Viewing 12 replies - 1 through 12 (of 12 total)
  • The answer must be something like:

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

    Plugin Author Vova Feldman


    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.

    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 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.

    Plugin Author Vova Feldman


    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?

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

    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

    Plugin Author Vova Feldman


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

    Ok, thank you 😉

    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..

    Plugin Author RatingWidget


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

    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”…
    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…

    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?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How to add the rating widget to posts on the blog front page’ is closed to new replies.