I like your widget so much that I’d love to have more than one testimonial showing up at a time. Is there a tweak that i can do to have it display 3 random testimonials?
Glad you like it.
Sorry but the widgets only allow one testimonial at a time. You should be able to use the widget more than once in the same sidebar. But that said it may randomly pick the same testimonial.
Yeah I tried that and noticed it was doubling up on occasion. Thanks for the quick reply.
Is there any plans for allowing multiple testimonials in a future upgrade?
Hi Dizzyland and Kevin,
I too needed (wanted) multiple testimonials showing up in the widget. I am a programmer, and so I ‘enhanced’ Kevin’s code to allow for an additional ‘option’ in each instance of the widget: Display Count. This can be ‘all’ or a number. If the display count is NOT ‘1’, then the ‘ID’ does not come into play and the testimonials are random. If the display count is greater than or equal to the number of approved testimonials, then you get them all. Seems to work quite nicely.
Kevin, I can certainly share my code back to you – just let me know.
I’m probably going to also look into adding a font-size option and line-height option for display.
Thanks Kevin for a very nice little package.
The widget was designed for only one testimonial, and I have no plans to change it. The reason for this is long widgets can look very awkward.
Having said that, there is a way to put multiple testimonials in a widget. If your theme allows shortcodes in the widgets you can use the main area shortcode in a text widget. However, the Random option will still only display one testimonial.
If you are not able to use shortcodes in widgets but you want to, you can enable them by putting :
/** * Allows shortcodes to be displayed in sidebar widgets */ add_filter('widget_text', 'do_shortcode');
I’d sure like to have that code if you don’t mind sharing it. I’d REALLY prefer to display multiple testimonials and on my site it wouldn’t look awkward. -It would look correct… to my eyes anyway.
I tried doing the shortcode option that you mentioned and it comes up without the cool box around it… It’s just text. I’d very much like to have the code to just make the widget work as David mentioned. I understand that it’s your baby and you have your reasons but it would be nice to have that functionality.
PS… thank you for the awesome plugin!
Please contact me via private email at firstname.lastname@example.org.
Looks like interest is increasing in this option. Pass me your code if you will and I’ll take a look at it in the next update. I’m busy with other things right now, but in the next month or so I’ll sit down and look at it.
You should be able to set the format in the main area section of the admin panel? But if David’s mod is good for you then go for it.
Email sent… Thanks a lot!
Awesome! I’ll be sure to upgrade when the time comes to check out your update.
does this plugin rotate through testimonials, or does it only show and stay on one?
- The topic ‘Multiple testimonials?’ is closed to new replies.