• Resolved lastpost

    (@lastpost)


    Hi, wanted to know if it’s possible (or a feature request) to store the average rating collected by your plugin into the wordpress database?
    That way it would be much easier to order posts by google rating, show the rating on ‘preview cards’ of posts containing the reviews throughout the website etc.

Viewing 1 replies (of 1 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @lastpost As with most plugins, data is stored in the database. You can retrieve your overall rating (the same as average rating) using PHP or a stripped down Shortcode:

    [reviews_rating summary="rating" limit=0 attribution=false]

    Or added to a template in PHP:

    <?php echo do_shortcode('[reviews_rating summary="rating" limit=0 attribution=false]'); ?>

    I don’t understand what you mean by preview cards or posts containing reviews.

Viewing 1 replies (of 1 total)
  • The topic ‘Storing average rating in DB’ is closed to new replies.