Title: Query top rated posts
Last modified: July 31, 2020

---

# Query top rated posts

 *  Resolved [mindtouch](https://wordpress.org/support/users/mindtouch/)
 * (@mindtouch)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/query-top-rated-posts/)
 * Hoping to find a way to query the top “most liked” posts for a widget display.
   Any ideas?
 * Thanks, great plugin so far.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fquery-top-rated-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/query-top-rated-posts/#post-13193658)
 * [@mindtouch](https://wordpress.org/support/users/mindtouch/)
 * I made you a shortcode quickly. You can place it in your widget and the last 
   posts will be displayed.
 * The shortcode is built like this: `[helpful_pro post_type="post" limit="5"]`
 * Code: [https://gist.github.com/pixelbart/ad4e0c6f4ae4d589818950d5d468db4c](https://gist.github.com/pixelbart/ad4e0c6f4ae4d589818950d5d468db4c)
    -  This reply was modified 5 years, 10 months ago by [Pixelbart](https://wordpress.org/support/users/pixelbart/).
 *  Thread Starter [mindtouch](https://wordpress.org/support/users/mindtouch/)
 * (@mindtouch)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/query-top-rated-posts/#post-13193897)
 * Wow, very impressed with your response time and quick solution!
 * This worked great, thank you!
 *  Thread Starter [mindtouch](https://wordpress.org/support/users/mindtouch/)
 * (@mindtouch)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/query-top-rated-posts/#post-13405053)
 * Could this have broken in the latest release? I had to remove it in order for
   Elementor to launch.
 *  Plugin Author [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * (@pixelbart)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/query-top-rated-posts/#post-13406827)
 * [@mindtouch](https://wordpress.org/support/users/mindtouch/)
 * Hello! I have updated the gist. With the code in your `functions.php` the whole
   thing should work again.
 * Sorry for the inconvenience!
 * [https://gist.github.com/pixelbart/ad4e0c6f4ae4d589818950d5d468db4c](https://gist.github.com/pixelbart/ad4e0c6f4ae4d589818950d5d468db4c)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Query top rated posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/helpful.svg)
 * [Helpful](https://wordpress.org/plugins/helpful/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/helpful/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/helpful/)
 * [Active Topics](https://wordpress.org/support/plugin/helpful/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/helpful/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/helpful/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Pixelbart](https://wordpress.org/support/users/pixelbart/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/query-top-rated-posts/#post-13406827)
 * Status: resolved