开发者 |
hello@lukerollans.me
Plugify |
---|---|
更新时间 | 2014年6月14日 08:59 |
捐献地址: | 去捐款 |
PHP版本: | 2.5 及以上 |
WordPress版本: | 3.8.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
clean-testimonials
folder to the /wp-content/plugins/
directoryYes. On top of your ability to add and edit testimonials in the WordPress admin area, you can also use a shortcode to display a form on any page you like. This form will create a new testimonial when a user fills it out. The shortcode to do this is [testimonial-submission-form] When a user submits a testimonial, it will default to "Draft" status. You will need to publish any testimonials this way before they will display on your site. Just in case someone writes anything naughty!
To display all testimonials with pagination, use the [testimonials] shortcode.
To display a single testimonial you can use the [testimonial id="xyz"] shortcode, where "xyz" is the ID of the testimonial you wish to display. You can copy and paste the testimonial shortcode complete with ID from your Testimonials admin page in WordPress.
To display a category of testimonials (with pagination!), you can use the [testimonials category="xyz"] shortcode. where "xyz" is the ID of the testimonial category you wish to display. You can also display testimonials from multiple categories by using [testimonials category="xyz,abc"] where "xyz" is the first ID and "abc" is the second. You can pass in as many ID's as you like, just separate them with commas. You can copy and paste this shortcode complete with ID from the Testimonials -> Categories admin page in WordPress.
Yes, you can use the Testimonial Widget and specify the "random" option, or you can use the [testimonial id="random"] shortcode.
Yes. Specify the "per_page" attribute when using the [testimonials] shortcode. EG, [testimonials category="10" per_page="5"].
The following filters are available in Clean Testimonials so you can customise it to your liking.
The following actions are available in Clean Testimonials so you can customise it to your liking.
The following information might be handy for you to know.