WordPress.org

Ready to get started?Download WordPress

Forums

Rating-Widget: Star Rating System
[resolved] Rating not showing in Except (11 posts)

  1. gbunz
    Member
    Posted 1 year ago #

    Thanks for such a great widget. I think it's fab!

    I tried turning on the "show excerpts" option but this is only available when I "enable" the rating and doing so puts ratings on all my content and in positions I don't like.

    I've been inserting ratings into my posts via the shortcode [ratingwidget post_id=] as I want the ratings in a different location than is offered. I'd really like the ratings to show in my excerpts (I manually input the excerpt as well). Any suggestions please?

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

  2. Masinizator
    Member
    Posted 1 year ago #

    The same problem...

  3. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    @gbunz you can use our PHP shortcode to manually embed the ratings into your template:
    <?php rw_the_post_rating($postID); ?>

  4. gbunz
    Member
    Posted 1 year ago #

    @vovoafelman thanks for the prompt response. my wordpress site is currently down, so i can't try this out. but for clarification, are you saying that if I put the shortcode above in the excerpt box then it'll show?

    and where will the postid # go in this code? e.g. <?php rw_the_post_rating($postID123); ?> or <?php rw_the_post_rating($postID=123); ?>

    Thanks in anticipation!

  5. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    No, you need to paste this code in the relevant WP template file that responsible to show the excerpt. Regarding the $postID, you need to replace it with the actual post id variable.

  6. gbunz
    Member
    Posted 1 year ago #

    oh got it thanks!

    One last thing please. Which template file should I be looking to paste this please? shortcodes.php?

    I'm using the BlackBird theme and the only experience I have with all this stuff is from dealing with html in blogger.

  7. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry, but I'm not familiar with every theme. You'll have to figure this one yourself, or try to contact the theme developer and ask him.

  8. gbunz
    Member
    Posted 1 year ago #

    Np, thank you! :)

  9. gbunz
    Member
    Posted 1 year ago #

    hey! so I added the code you provided to my template (in blog.php) but the ratings I enter manually in the excerpt still don't show the stars. It just shows [ratingwidget post_id=]

    any other suggestions please?

  10. vovafeldman
    Member
    Plugin Author

    Posted 1 year ago #

    Send me:
    1. Temporary admin access to [vova AT rating-widget DOT com]
    2. A url of a page that should contain the ratings
    3. A screenshot of the same page, with the exact location where you want your ratings to appear at

    Once I have it all, I would be able to better help.

  11. gbunz
    Member
    Posted 1 year ago #

    Thanks for all the help! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags