WordPress.org

Forums

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

  1. ajayver
    Member
    Posted 1 year ago #

    Hi!
    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,

    http://wordpress.org/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year 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