Displaying Correct Site Reviews Averages on Ultimate Member Profile Cards
-
Hi everyone,
I’m having an issue with displaying the correct average ratings from Site Reviews on the profile cards in the Ultimate Member directory. Here’s the situation:
I’ve successfully implemented the shortcode from Site Reviews to display the average ratings on individual profile pages using this code:
[site_reviews_summary assigned_users="user_id" hide="bars,summary,text,count"]
This works perfectly on the profile pages, showing the correct average for each user. However, when I try to add the same shortcode to the profile cards in the member directory (using Ultimate Member), it doesn’t display the correct average for each member. Instead, it either shows the same rating for all users or the rating of the logged-in user (depending on the setup).
I’m looking for guidance on how to ensure that each profile card in the directory shows the correct average rating specific to the user on that card, rather than a global or incorrect rating. Is there a way to modify the shortcode or my setup to achieve this?
Any advice or suggestions would be greatly appreciated! Thank you in advance for your help.
Best regards.
- You must be logged in to reply to this topic.