WordPress Popular Posts
Post rating doesn't show up when using template tag. (2 posts)

  1. ajayver
    Posted 2 years ago #

    Thank you fro this wonderfull plugin!
    I was trying to use a code like this:

    if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular('rating=1');

    to display popular posts, but the rating doesn't show up because the $rating variable is switched to false on line 1991 in wordpress-popular-posts.php:

    'rating' => empty($rating) || $rating = "false" ? false : true,

    I believe it should be

    'rating' => empty($rating) || $rating == "false" ? false : true,


  2. Hector Cabrera
    Plugin Author

    Posted 2 years ago #

    Thanks for the notice, ajayver! Will take a look into this as soon as possible.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic