• Resolved johnh10

    (@johnh10)


    My posts have tons of votes, but when now trying the shortcode [yasr_top_ten_highest_rated] I’m getting the message “You don’t have any votes stored”

    Looking at the file lib/yasr-shortcode-functions.php I see the shortcode function is looking for the meta key ‘yasr_overall_rating’ (which is empty) for each post.

    However in the file lib/yasr-db-functions.php it seems the post’s overall rating is actually stored in a transient called ‘yasr_visitor_votes_’ . $post_id, which is calculated from the YASR_LOG_TABLE.

    What am I missing? How is the Top Ten shortcode supposed to work?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Top Ten shortcode not finding votes’ is closed to new replies.