Hello wpDiscuz Support Team,
I am using wpDiscuz 7 to gather customer reviews and ratings on my website. I also use Rank Math to manage my Schema markup (Product type).
The Issue: My website is NOT using WooCommerce, but I need to display "Product" schema for my services to get star ratings in Google search results.
Currently, Google's Rich Results Test shows a critical error: Missing field "aggregateRating" and Missing field "review". It seems Rank Math’s Product Schema is unable to automatically fetch the rating data from wpDiscuz because there is no WooCommerce integration.
I have already tried using PHP filters to bridge the two, but without success.
My Questions:
-
Since I am not using WooCommerce, how can I automatically pull wpDiscuz rating values (average score and count) into the Rank Math Product Schema?
-
Is there a specific Meta Key or Shortcode provided by wpDiscuz that I can use inside Rank Math's Schema Builder to dynamically populate the
ratingValueandreviewCountfields?
I want to avoid manual data entry for my ratings. Any technical guidance or working snippet would be very helpful.
Thank you!
Hi,
The values you need are stored in the wp_postmeta table with the following meta keys:
wpdiscuz_post_ratingwpdiscuz_post_rating_count
The wp_ is just a prefix. In your case, it may be different.
In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

