• Resolved renezamm

    (@renezamm)


    Hi, i would like to get the values on another custom schema I am creating myself for the current post. Is there a function or shortcode to get the rating value and rating count of current post please?

    Thanks and thumbs of for this pliugin!

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

    (@gamerz)

    Rating Total Value: get_post_meta( get_the_ID(), 'ratings_score', true )
    Rating Value: get_post_meta( get_the_ID(), 'ratings_average', true )
    Rating Count: get_post_meta( get_the_ID(), 'ratings_users', true )

    • This reply was modified 5 years, 6 months ago by Lester Chan.
    Thread Starter renezamm

    (@renezamm)

    Thanks a lot Lester!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get rating value and rating count for current post’ is closed to new replies.