Trustie Pro extends the Free shortcodes with additional parameters and adds several new shortcodes for Pro-only features. This is your complete reference for every shortcode available in Trustie Pro.
For the basics of how shortcodes work (where to put them, how to use page builders, etc.), see the Trustie Free shortcodes guide — everything there still applies.
Card Layout (Grid vs Masonry)
Every shortcode that renders review or testimonial cards follows your global Card Layout setting at Trustie > Settings > Layout. Pick Grid for equal-height cards or Masonry for variable-height cards that pack tight to their content — and it applies everywhere: product-page reviews, the reviews page, Google reviews, and testimonials.
If you want a specific shortcode instance to use a different layout than your global setting, add grid_layout="grid" or grid_layout="masonry" (or layout="..." for the [trustie_testimonials] shortcode) as an attribute. The shortcode attribute always wins over the global setting.
—
Product Reviews
[trustie_reviews] — Display Product Reviews
Shows reviews for a specific product (or all products) with ratings, text, photos, and author information.
[trustie_reviews product_id="42"]All parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
product_id | int | Current product | Which product’s reviews to show. Auto-detected on product pages. |
type | string | product | Review type: product or site |
limit | int | From Layout settings | Reviews per page (configurable in Settings > Layout) |
columns | int | From Layout settings | Grid columns (configurable in Settings > Layout) |
grid_layout | string | From Card Layout setting | grid or masonry. Overrides the global Card Layout setting on this instance. |
show_photos | bool | true | Display review photos |
show_response | bool | true | Show admin replies to reviews |
show_filters | bool | true | Show the pill-style filter and sort controls |
min_rating | int | 0 | Only show reviews at or above this star rating |
verified_only | bool | false | Only show verified purchase reviews |
orderby | string | date | Sort field: date |
order | string | DESC | Sort direction: DESC (newest first) or ASC (oldest first) |
Filter & Sort Controls
When show_filters is enabled (default), visitors see pill-style filter and sort buttons styled with your Brand Hub Designer settings:
- Sort pills: Newest / Oldest toggle
- Filters toggle: Expands a collapsible panel with:
– Star rating pills (1–5): Click to filter by exact star rating
– Custom field pills: Any fields marked as “filterable” or “demographic” in the Form Builder appear as additional filter groups with their options as pills
- Active filter tags: Show which filters are active, with one-click removal
When filters return no matching reviews, a “No reviews match your filter” message is displayed.
Load More
Reviews use a “Load More” button for pagination. The number of reviews loaded per batch is controlled by the limit parameter (or the Layout settings default). When there are no more reviews to load, the button hides automatically.
Note: On product pages, the product name is not shown on review cards (it would be redundant).
Examples:
Reviews with filters enabled (default):
[trustie_reviews product_id="42"]Two-column grid, 6 per page:
[trustie_reviews product_id="42" columns="2" limit="6"]Verified purchases only, no filters:
[trustie_reviews product_id="42" verified_only="true" show_filters="false"]> Where’s the review form? [trustie_reviews] displays the review list and summary. To show the review submission form, use [trustie_review_form] as a separate shortcode. This gives you full control over where the form appears — below the reviews, in a sidebar, or on its own page.
—
[trustie_rating] — Display Star Rating Summary
Shows the average star rating for a product with optional breakdown bars.
[trustie_rating product_id="42"]| Parameter | Type | Default | Description |
|---|---|---|---|
product_id | int | Current product | Which product |
show_count | bool | true | Show “(42 reviews)” after the stars |
link | bool | true | Link stars to the reviews section |
show_breakdown | bool | false | Show rating distribution bars (5-star: 60%, 4-star: 25%, etc.) |
style | string | compact | Display style: compact (inline) or expanded (card with breakdown) |
Examples:
Expanded card with breakdown:
[trustie_rating product_id="42" style="expanded" show_breakdown="true"]Compact inline rating:
[trustie_rating product_id="42" show_count="false" link="false"]—
[trustie_review_form] — Review Submission Form
Display the review form on its own, without listing existing reviews.
[trustie_review_form product_id="42"]| Parameter | Type | Default | Description |
|---|---|---|---|
product_id | int | Required | Which product this review is for |
The form automatically uses the correct custom form (from the Form Builder) based on the product’s category and form assignment rules. If no custom form exists, the default review form is shown.
—
[trustie_review_summary] — Aggregate Review Statistics
Display aggregate statistics across all products (or a specific product) — total reviews, average rating, rating distribution.
[trustie_review_summary]| Parameter | Type | Default | Description |
|---|---|---|---|
product_id | int | All products | Limit stats to a specific product |
show_total | bool | true | Show total review count |
show_average | bool | true | Show average star rating |
show_breakdown | bool | true | Show rating distribution bars |
show_chart | bool | false | Show a visual bar chart of ratings |
Examples:
Store-wide review statistics:
[trustie_review_summary]Stats for a specific product:
[trustie_review_summary product_id="42"]Just the average and count, no breakdown:
[trustie_review_summary show_breakdown="false"]—
[trustie_star_summary] — Star Rating Breakdown
A focused shortcode that shows just the star rating distribution — how many 5-star, 4-star, 3-star (etc.) reviews a product has, displayed as horizontal bars.
[trustie_star_summary product_id="42"]| Parameter | Type | Default | Description |
|---|---|---|---|
product_id | int | Current product | Which product |
show_count | bool | true | Show the number of reviews per star level |
show_percentage | bool | true | Show percentage per star level |
clickable | bool | true | Clicking a bar filters reviews to that star level |
Examples:
Breakdown with clickable filtering:
[trustie_star_summary product_id="42" clickable="true"]Simple visual breakdown:
[trustie_star_summary product_id="42" show_percentage="false"]—
[trustie_store_reviews] — Store-Level Reviews
Display reviews about your store as a whole, rather than specific products. These are submitted through site-level review forms (configured in the Form Builder with “Site Reviews Only” assignment).
[trustie_store_reviews]| Parameter | Type | Default | Description |
|---|---|---|---|
limit | int | 10 | Number of reviews to display |
columns | int | 2 | Grid columns (1–4) |
layout | string | grid | Display layout: grid, list, or masonry |
show_form | bool | false | Include the store review submission form |
show_summary | bool | true | Show aggregate rating summary |
show_photos | bool | true | Display review photos |
Examples:
Store reviews with submission form:
[trustie_store_reviews show_form="true"]Three-column masonry layout:
[trustie_store_reviews layout="masonry" columns="3" limit="12"]—
[trustie_reviews_page] — Full Reviews Page
The all-in-one shortcode for a dedicated reviews page. Includes product reviews, store reviews, and testimonials in a tabbed interface with pagination.
[trustie_reviews_page]| Parameter | Type | Default | Description |
|---|---|---|---|
per_page | int | 12 | Reviews per page before pagination |
columns | int | 3 | Grid columns (1–4) |
grid_layout | string | From Card Layout setting | grid or masonry. Overrides the global Card Layout on this instance. |
tabs | string | all | Which tabs to show: all, product, store, testimonials — or a comma-separated list |
default_tab | string | product | Which tab is active by default |
Examples:
Full reviews page with all tabs:
[trustie_reviews_page]Only product and store reviews (no testimonials tab):
[trustie_reviews_page tabs="product,store"]Two-column layout with more reviews per page:
[trustie_reviews_page columns="2" per_page="20"]Setting it up as your main reviews page:
- Create a new page (e.g. “Reviews”)
- Add the shortcode as the page content
- Go to Trustie > Settings > Layout and select this page as your designated reviews page
- The floating widget’s “See All Reviews” link will now point here
—
Google Reviews
[trustie_google_reviews] — Display Google Business Reviews
Show reviews from your Google Business Profile with full JSON-LD schema markup for SEO.
[trustie_google_reviews]This shortcode displays your Google business name, overall rating, individual reviews, and a “View on Google” link. It also outputs LocalBusiness + AggregateRating schema that Google can use for rich results in search.
Before this works, you need your Google Place ID and API key configured. See the Google Reviews guide.
Note: Google’s API returns a maximum of 5 individual reviews, though the aggregate rating reflects all your Google reviews.
—
Testimonials
[trustie_testimonials] — Display Testimonials
Show approved testimonials in various layouts. Works without WooCommerce.
[trustie_testimonials]| Parameter | Type | Default | Description |
|---|---|---|---|
limit | int | 10 | How many testimonials to show |
columns | int | 2 | Grid columns (1–4) |
layout | string | From Card Layout setting | grid, masonry, or list. Defaults to your global Card Layout setting; overrides it on this instance. list is a testimonial-specific stacked layout with no columns. |
show_rating | bool | true | Show star rating |
show_photo | bool | true | Show customer photo |
Examples:
Three-column masonry grid:
[trustie_testimonials layout="masonry" columns="3" limit="9"]Simple list without ratings:
[trustie_testimonials layout="list" show_rating="false"]—
Quick Copy Reference
Here are the most common Pro shortcodes, ready to paste:
Product reviews with filters (default):
[trustie_reviews product_id="YOUR_ID"]Expanded rating card with breakdown:
[trustie_rating product_id="YOUR_ID" style="expanded" show_breakdown="true"]Store-wide review statistics:
[trustie_review_summary]Star rating breakdown:
[trustie_star_summary product_id="YOUR_ID"]Store-level reviews page:
[trustie_store_reviews show_form="true" layout="grid" columns="3"]Full tabbed reviews page:
[trustie_reviews_page]Reviews without filter controls:
[trustie_reviews product_id="YOUR_ID" show_filters="false"]Google reviews with schema:
[trustie_google_reviews]Testimonials grid:
[trustie_testimonials columns="3" limit="6"]Replace YOUR_ID with your actual WooCommerce product ID. You can find it in the URL when editing a product — look for post=123.
—
Using Shortcodes in Page Builders
All shortcodes work in popular page builders:
- Gutenberg (Block Editor): Add a Shortcode block
- Elementor: Use the Shortcode widget
- Divi: Use the Code module
- WPBakery: Use Raw HTML or Text Block
- Beaver Builder: Use the HTML module
—
Using Shortcodes in PHP Templates
For developers who need shortcodes in theme files:
<?php echo do_shortcode( '[trustie_reviews product_id="42"]' ); ?>—
Performance Tips
- Set reasonable limits — 10–12 reviews per page is plenty. Load More handles the rest.
- Use
show_filterswisely — filters add interactivity but also extra JavaScript. Disable them withshow_filters="false"on pages where visitors won’t need them. - Cache your pages — Trustie works beautifully with caching plugins.
- Disable unused features — if you’re not using testimonials or Google Reviews, turn them off in Settings > Features to skip loading their assets entirely.