web_testimonial Shortcode

The web_testimonial shortcode renders the testimonial component.

The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.

Usage

[web_testimonial]

Attributes

Attribute Default Accepted values Purpose
testimonial_style style_1 style_1, style_2, style_3 Select testimonial style.
testimonial_image String unless stated otherwise Select the image.
testimonial_name String unless stated otherwise Enter the name.
testimonial_name_position after_content before_content, after_content Controls the name position. Available when testimonial_style is style_2.
testimonial_position String unless stated otherwise Enter the position.
content String unless stated otherwise Introduce message to display.
testimonial_text_color String unless stated otherwise Choose text color.
testimonial_bg_color String unless stated otherwise Choose background color.
device_visibility String unless stated otherwise Applies the selected responsive visibility rule.
el_id Valid unique HTML ID Enter section ID (Note: make sure it is unique and valid according to w3c specification).
el_class String unless stated otherwise If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.

Customize the stylesheet

Go to Settings → POM Theme → Advanced → Custom CSS, expand Shortcode CSS assets, and open Testimonial. The comparison shows the readable CSS generated by the current theme beside the editable source. Saving creates an optimized per-site replacement for the existing web-testimonial stylesheet; reverting restores the current testimonial.min.css asset.

The replacement changes CSS only. It does not change the web_testimonial shortcode, the HTML order and classes of styles 1, 2, or 3, the before/after author placement available to style 2, the quoted body content, author or source values, portrait background and lazy-loading attributes, responsive visibility, or the request condition. Pages without Testimonial content continue loading no Testimonial stylesheet, and the module has no dedicated JavaScript.

Verification

Verify web_testimonial with representative content, its empty state and every enabled responsive range. Check all three testimonial_style variants, both testimonial_name_position values for style 2, the portrait image, and the author/source order. After editing the stylesheet, confirm that a page containing the shortcode uses the managed CSS while a page without it still loads no Testimonial asset.