This feature is available only for Premium members
See this document if you need more information
NOTE: You can access all the shortcodes via the shortcodes icon on your visual editor.
Description and Code
The testimonials shortcode may be used for one or more than one testimonial. When adding more than one testimonial, the display will change to a slider to cycle through the testimonials one at a time. Here's an example of the shortcode in code view:
[testimonials_component background_color="" text_color="" class="" id=""]
[testimonial_component name="" image="" company="" star_rating="yes" link="" target="_self"]Your Content Goes Here[/testimonial_component]
[/testimonials_component]
Parameters
Testimonials container - [ testimonials_component ]
- background_color
- defines the background color of the testimonials
- Possible values - hex code #000000, or color name black or rgba values like rgba(0,0,0,0.4)
- text_color
- defines the text color of the testimonials
- Possible values - hex code #000000, or color name black or rgba values like rgba(0,0,0,0.4)
- class
- custom class for CSS of component
- Possible values - string - like custom-element-class
- id
- custom ID for CSS of component
- Possible values - string - like custom-element-id
Testimonial - [ testimonial_component ]
- name
- defines the testimonial name
- Possible values - string - like John Doe
- image
- defines the path for the image that you want to show as avatar
- Possible values - string - like http://example.com/wp-content/uploads/image.jpg
- company
- defines the testimonial company name
- Possible values - string - like Doe & Co.
- star_rating
- controls if display the 5 star rating in the testimonial
- Possible values - yes or no
- link
- sets the company name link
- Possible values - string - like http://example.com
- target
- sets the company name link target
- Possible values - _self or _blank
Basic Example
Customized Examples