Viewing 2 replies - 1 through 2 (of 2 total)
  • David Choi

    (@wpthemes777)

    You’ll need to first ask the developer how the ratings are saved at

    http://wordpress.org/support/plugin/comment-rating-field-plugin

    because it really depends, it might save in it’s own table, or WP options table. It also depends how the value is saved etc.

    Thread Starter 3dpc

    (@3dpc)

    The ratings are saved into a table called wp_commentmeta. Here’s an image to give you a visual idea:
    http://i.imgur.com/A7dCPxS.jpg

    When going to a post and looking at the custom fields this is what I see:
    http://i.imgur.com/LnfGqvG.jpg
    Suppose that piece of text could be used and inserted as the meta key. Not complete sure how though.

    The average rating data seems to be processed through functions in the plugin file (comment-rating-field-plugin.php) and stored in this variable: $averageRating

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sorting posts by meta key and value’ is closed to new replies.