WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
[resolved] How to change position of the the_ratings() (2 posts)

  1. kounamouta
    Member
    Posted 5 months ago #

    I tried your plugin and it is very good, but it has a restriction that I found odd.

    I would like to use the <?php the_ratings(); ?> before the <?php while (have_posts()) : the_post(); ?> .

    Is there any way to make that happen?

    I am not very code savvy (I could say that I don't know anything other than copy and paste), but other plugins that I used (rating or others) didn't have such restrictions. Nonetheless, your plugin is the easiest and with the most features rating system.

    Thank you for your work and your time.

    https://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 5 months ago #

    if u know the post ID, you can use the code below, where 1 is the post ID.

    <?php the_ratings('div', 1); ?>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.