Title: It doesn&#8217;t work for all posts
Last modified: November 17, 2020

---

# It doesn’t work for all posts

 *  [mceciliayr](https://wordpress.org/support/users/mceciliayr/)
 * (@mceciliayr)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/it-doesnt-work-for-all-posts/)
 * Hi.
    I am want to display reviews on all the post of the blog. I followed all
   the steps, insert the code if(function_exists(‘the_ratings’)) { the_ratings();}
   below the while (have_posts()) : the_post(); on the index.php file. I don’t know
   why it doesn’t work. If I copy on each post the short code [ratings] it works.
   Could you please help me with this? Regards, Cecilia
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fit-doesnt-work-for-all-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘It doesn’t work for all posts’ is closed to new replies.

 * ![](https://ps.w.org/wp-postratings/assets/icon.svg?rev=978014)
 * [WP-PostRatings](https://wordpress.org/plugins/wp-postratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postratings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postratings/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [mceciliayr](https://wordpress.org/support/users/mceciliayr/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/it-doesnt-work-for-all-posts/)
 * Status: not resolved