You can also show list of user’s reviews from all posts on one page. Or, maybe you want to show best reviewed comments, most helpful, reviews from one post, etc. It works also with woocommerce products.
Basic shortcode for this is
Shortcode has several parameters.
number – will show definite number of reviews (default is 5)
user_id – set user ID to show only reviews from this user
ids – add list of comment IDs with comma to show only these reviews (no space between comma and id)
postids – add list of post IDs with comma to show only reviews from these posts (no space between comma and id). If you want to get comments of current post where you placed shortcode, use
post_type – set post type (default is post, if you need woocommerce reviews – use “product)
only_review – set this as 1 if you want to get only reviews (default logic will show also all comments even without reviews)
best – set as 1 if you want to show best reviewed comments. Set
best=helpful if you want to show most helpful reviews. Set
best=reverseif you want to show a worse rated comment. So, in general, here is example to get the best rated comment of current post
[rh_latest_comments best=1 postids=current only_review=1 number=1] and worse rated
[rh_latest_comments best=reverse postids=current only_review=1 number=1]
img_width – will change size of post image. Default is 50. For full width pages, you can set more big images.
offset – offset for query. Use this when you want to show comments in several columns. So, for first column set number 5 and no offset, for second column, set offset 5, etc