WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ajayver
    Member
    Posted 9 months 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 8 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic