开发者 | wptestimonialslider |
---|---|
更新时间 | 2015年6月6日 05:37 |
捐献地址: | 去捐款 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 4.2.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[wpt_testimonial]
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
[wpt_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, Company Name & Designation at respective fields and Finally Publish.
Better to add square size image. Default image size set to 86px X 86px.
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('[wpt_testimonial]'); ?>