Start typing to search...

Aggregate rating shortcode

In the Strong Testimonials Review Markup add-on, use this shortcode to display your aggregate rating and/or its structured data markup: [testimonial_aggregate_rating]

Default

[testimonial_aggregate_rating] – This includes the markup.

Most common scenario

To simply display the average rating and stars alongside a view that is configured to add both review markup and aggregate rating markup.

[testimonial_aggregate_rating with_reviews no_markup]

In other words, the view is handling all the markup so you just want to show the aggregate.

Markup Options

On the same page as testimonials: [testimonial_aggregate_rating with_reviews]

Without markup [testimonial_aggregate_rating no_markup]:

Markup only: [testimonial_aggregate_rating markup_only]

For a specific category (by slug): [testimonial_aggregate_rating category=”apple”]

Component Options

Rating value only: [testimonial_aggregate_rating value]

Stars only: [testimonial_aggregate_rating stars]

Custom title and/or summary phrases: [testimonial_aggregate_rating title=”Average” summary=”/5″]

Style Options

In block format instead of inline (CSS): [testimonial_aggregate_rating block]

Centered: [testimonial_aggregate_rating centered]

Block and centered: [testimonial_aggregate_rating block centered]

With a custom CSS class (not included in the plugin):
[testimonial_aggregate_rating class=”my-css-class”]
For example: <style>.my-css-class { color: red; }</style>

With a custom CSS class plus block and/or centered:
[testimonial_aggregate_rating block centered class=”my-css-class”]

Was this page helpful?
0 0
AI Assistant

Hi, how can I help?

Try asking about