Support » Plugin: WP-PostRatings » Get just the number of votes per post

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lester Chan

    (@gamerz)

    get_post_meta( 'ratings_score', $postID, true )
    get_post_meta( 'ratings_users', $postID, true )
    get_post_meta( 'ratings_average', $postID, true )

    2nd line of code

    thanks! while the sequence is first the postID and then the meta 🙂

    Plugin Author Lester Chan

    (@gamerz)

    get_post_meta( $postID, 'ratings_score', true )
    get_post_meta( $postID, 'ratings_users', true )
    get_post_meta( $postID, 'ratings_average', true )

    Ops my bad, remembered wrongly. Created this post so that people searching can find the answer =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get just the number of votes per post’ is closed to new replies.