TO DISPLAY THE TESTIMONIAL POSTS
To display the Testimonial posts simply enter the shortcode in the post content box. You can configure the result by adding the parameters.
- [testimonial]
- = display Testimonial posts with default setting
- [testimonial style="grid3" limit="3" image_w="80" image_h="80"]
- = display latest 3 Testimonial posts in grid3 layout and set image dimension to 80 x 80px
- [testimonial category="13" style="grid2" limit="8" page_nav="yes" image_w="80" image_h="80"]
- = display latest 8 Testimonial posts from Testimonial Category ID 13 in grid2 layout
- [testimonial category="client" style="grid2" limit="4"]
- = display latest Testimonial posts from 'client' (slug) category
Available parameters:
- style= grid4, grid3, grid2, full
- you can also include additional CSS class(es) for your own custom styling (eg. style="classname")
- limit = number of post to query (eg. enter limit="4" will query 4 posts, enter -1 to query all posts)
- category = category ID number or text slug (default = all categories). To find category ID number or text slug: click on "Testimonial Category" link located under the Testimonial admin menu
- image = show featured image or not (yes, no, default = yes)
- image_w = post image width
- image_h = post image height
- title = show post title (yes, no)
- display = display whether content, excerpt or none
- more_link = display a custom more link after the posts
- more_text = text that will appear in more_link
You can also use the widget to display testimonials: