开发者 |
xltheme
limon213 |
---|---|
更新时间 | 2018年3月10日 10:11 |
捐献地址: | 去捐款 |
PHP版本: | 3.2 及以上 |
WordPress版本: | 4.9.4 |
版权: | GPLv2 or later |
[xl_testimonial in_animation="zoomIn"]
[xl_testimonial out_animation="fadeOutUp"]
[xl_testimonial in_animation="flipInX" out_animation="slideOutDown"]
9 different global styles in setting page
[xl_testimonial cat_name='cat-1' out_animation='slideOutDown' in_animation='flipInX' author_img_style='xl_circle' alignment='xl_center']
Still have any confusion?
Normally Testimonials will show by descending order, latest will show first. But if you wish to display ascending order, oldest at first then pass order="ASC" parameter to shortcode like
[xl_testimonial order='ASC']
Testimonial post type will show below POSTS. To add new testimonial, go to Testimonial > Add New, then add Testimonial Author name at Title, Full testimonial at Editor, Author Image at Featured Image, Company Name / Country / City & Designation at Other's Info field in Client Info section and Finally Publish.
Better to add square size image. Default image size set to 80px X 80px.
WordPress has a great function, do_shortcode(), that will allow you to use shortcodes inside your theme files. For example, to output Testimonials in a Theme file, you would do this: <?php echo do_shortcode('[xl_testimonial]'); ?>