• Resolved craiggroshek

    (@craiggroshek)


    Hi, there! Great plugin! I utilize W4 Post List to create lists of my posts/content on my website, and would like to use that plugin to sort posts by their average rating, or display their overall ratings alongside the title. The plugin supports the use of custom meta keys to do this, and I am curious if you could tell me what the relevant meta keys are for the 1) average review and the 2) total number of votes, so that I can utilize these in my lists. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi @craiggroshek,

    the keys are rmp_vote_count and rmp_rating_val_sum. The former represents the number of votes and the latter represents the sum of all ratings – for example if a post has been rated three times five stars, the rmp_rating_val_sum will be 15 (3×5). Average rating is calculated on the go and is not stored in the database.

    Let me know if you have more questions.

    Blaz

    Thread Starter craiggroshek

    (@craiggroshek)

    Thanks for the prompt response!

    Plugin Support Blaz K.

    (@blazk)

    You are welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Meta Keys for Rate My Post Values’ is closed to new replies.