开发者 | cipes |
---|---|
更新时间 | 2016年8月1日 23:49 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.5.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Your nice quote from someone saying how great your or business are.
~ Andy Johnson
Place the text widget into the sidebar called 'Think Up Testimonials'. To output the testimonial rotator on the front end, insert
the function `thinkup_testimonials()`` into your theme template files where you want the rotator to appear. You can also control the
time for each slide and if you want the rotator to autoplay or not through the callback function.
To create a slider within your template that rotates every 9 secs use the code thinkup_testimonials(9000);
To stop the default auto-rotate of the plugin, add the false
parameter to the callback function like this thinkup_testimonials(9000, false);
thinkup-testimonials
folder to the /wp-content/plugins/
directory
Testimonial text here
~ Author
thinkup_testimonials();
in your templates to output the rotatorthinkup_testimonials(9000);
creates a slider with a 9 sec delay.thinkup_testimonials(9000, false);
Simply use your style.css of your theme to overwrite the plugin styles. Use the CSS selector #thinkup-testimonials h3 {...} for the testimonial text and #thinkup-testimonials h2 {...} for the author text.
You are able to set the delay time between testimonials using the callback function. Place the delay time (in milliseconds) with the brackets of the the callback function. ie: thinkup_testimonials(9000); would set the time delay to 9 seconds between testimonials.