WordPress.org

Ready to get started?Download WordPress

Forums

Rich Reviews
[resolved] Order of Reviews (3 posts)

  1. kjlr
    Member
    Posted 3 months ago #

    Is there a way to change the sorting of reviews? By default, it sorts oldest at top to newest at bottom. How can I reverse that? Thank you for any help.

    https://wordpress.org/plugins/rich-reviews/

  2. mediagin
    Member
    Posted 2 months ago #

    I needed latest results to show first also, so I found this fix. Inside rich-reviews.php, come down to line 291 and insert $this->db->order_by("id", "desc"); on a new line just before $results = $this->db->get();. Works on overall as well as per page/post. Enjoy.

  3. kjlr
    Member
    Posted 2 months ago #

    Excellent! It worked, thanks very much.

Reply

You must log in to post.

About this Plugin

About this Topic