The [rvx-stats] shortcode renders ReviewX’s 5-star rating distribution breakdown bar. It illustrates the exact proportion of 5-star, 4-star, 3-star, 2-star, and 1-star reviews submitted by your customers, complete with interactive hover tooltips and instant click-to-filter capability.

Shortcode Syntax #
To render the rating statistics bar for the current product:
[rvx-stats]To display rating distribution for an external or specific product:
[rvx-stats post_id="123"]Interactive Shopper Capabilities #
- Hover Tooltips: Hovering over any star row reveals an interactive tooltip with the exact percentage and total review count (e.g. “83% (15 reviews)”).
- Click-to-Filter: When placed alongside
[rvx-review-list], clicking a star rating bar automatically filters the reviews list below to show only reviews matching that rating level.
Block Editor Alternative #
You can also insert the native ReviewX Stats Gutenberg block (reviewx/stats) from the block library.