Available Since: V1.0.0
Snippet to draw randomly selected testimonial.
Parameter | Description |
---|---|
words | The maximum number of words to include as the summary of the testimonial, defaults to 30. |
size | The size of image to use, one of (t)iny, (s)mall, (m)edium, (l)arge, defaults to s. |
testimonialTpl | The name of the chunk which will format the testimonial. |
<blockquote class="testimonial">[[if &subject=`[[+image]]` &operator=`!empty` &then=`<img src="[[+image]]" [[+image_size]] alt="Testimonial from [[+author]]" />`]]<p>[[+testimonial]] <span><a href="[[+testimonialURI]]">continue reading</a></span></p> </blockquote>
Placeholder | Description |
---|---|
image | The URL of the image for the testimonial, if one is available. |
image_size | The width and height of the image. |
author | The name of the testimonial author. |
testimonialURI | Absolute address of the page holding the full testimonial. |
testimonial | The summary of the testimonial text. |
dategiven | The date the testimonial given. |
gender | The authors gender. |
age | The authors age. |
author | The name of the testimonial author. |
website | The optional address of the authors website. |
occupation | Authors occupation. |
company | The company name. |
location | Authors physical location e.g. England. |