Shortcode

Star rating badge

The lightest ReviewX shortcode: it reads cached numbers from WordPress, makes no API call and fits inline next to a title or price. Choose exactly which parts to show.

Shortcode
[rvx-star-count]

A small inline rating for titles, product grids and menus.

Live example

Default badge

Stars, average, count and text for the Linen Button-Down Shirt.

[rvx-star-count product_id="225"]
4.5 (8) Reviews

Every display option

AttributeShowsLive
info="default"Stars, rating, count and text
4.5 (8) Reviews
info="stars"Stars only
info="stars_rating"Stars and rating
4.5
info="stars_count"Stars and count
(8)
info="rating_count_text"Rating, count and text
4.5 (8) Reviews
info="count_text"Count and text
(8) Reviews
Reference

Attributes

Every attribute is optional unless noted. The same options are in the ReviewX block, the widget and the Shortcode Designer.

AttributeValuesWhat it does
product_id / post_idAny IDOne item. Left out, the current product.
post_typeproduct, post …Store-wide numbers for a post type.
infodefault, stars, stars_rating, stars_count, stars_count_text, rating, rating_count, rating_count_text, count, count_textWhich parts to show.
title / themeText / light, darkHeading and forced mode.
More shortcodes

Nine ways to show reviews

WooCommerce reviews

The complete product reviews section: rating summary, filters, review list and review form.

Open

Product reviews

The review form for one product or post, with an optional summary, filters and list.

Open

Review feed

Reviews from the whole store, one post type or one item, with filters.

Open

Handpicked reviews

Show the exact reviews you choose, by ID.

Open

Rating summary

Average rating, star distribution, recommendation and criteria for one item.

Open

Rating graph

Rating distribution and criteria averages for one item or a whole post type.

Open

Rating stats

A compact average rating with stars and the number of reviews.

Open

Google reviews

Reviews from a Google Business profile, next to your store reviews.

Open
ReviewX for WordPress

Everything on this page ships in ReviewX

Free for one store, with Pro and Agency plans when you need video reviews, automatic reminders, highlights and more. Set up in minutes.

Start typing to see instant results.

Press Enter to see all results

ReviewX Demo Store

Your cart

Your cart is empty

Looks like you have not added anything yet.

Start shopping