Welcome to the BlueLayerMedia Web Development Blog

We don't just build blogs, we write them too. Take a look at what's going on and our senseless ramblings!

WP Plugin: Random Testimonials v1.1

By: on Apr 6, 2010 | 21 Comments

We’d like to introduce an update to our first WordPress plugin, Random Testimonials.

With this plugin you have the ability to display a number of testimonials either in a page or post. The amount displayed is determined by you. We also created a submission form that you can include in a post or page in order to have people submit their testimonials to you. User submitted testimonials are added to a queue in your WordPress Admin for your approval.

In this updated version, we widgetized our plugin and gave you the ability to set the number of testimonials you would like to appear via the widget settings.

We also made our plugin compatible all the way up to WordPress version 3.0 beta 1!

Admin Area

Here is a quick set of instructions to get you going:

  1. Install the plugin either via FTP or Admin backend
  2. Activate the plugin
  3. Go to the Random Testimonials Admin, under Settings
  4. Add any testimonials you already have (yes, you could even make some up)
  5. To have the testimonials show in a post use the following code: [show_testimonials limit="x"] and replace ‘x’ with the number of testimonials you would like displayed.
  6. To have the testimonialssubmission form displayed in a post/page use thefollowing code: [testimonial_form]

Don’t forget to check your queue every now and then to see if there any new testimonials waiting for your approval.

Below is the file for you to enjoy. If it worked out for you, feel free to leave a comment, we’d like to hear from you.

[download id="7" format="1" autop="true"]


Related Posts:
  1. WP Plugin: Random Testimonials
  2. WANTED: Your Ideas!
  3. WordPress Plugin Recommendations
  4. FIX: Permalinks & Statpress

Comments (21)

Lisa

Posted at 4:52 am on April 26th, 2010

Hi, I love your plugin but have one question about it, is there anyway to put a space between the testimonials when you put more than one on a page? They just look a lettle to close togather. Thanks

Jason Craig

Posted at 4:47 pm on April 26th, 2010

Hi Lisa,

You would have to modify the plugin itself or apply CSS to it.

Thanks,

Jason

Lisa

Posted at 4:53 pm on April 26th, 2010

Hi Jason,
I was playing around with it and I just put a in the testimonial box before the testimonial and that worked like a charm. Love your plugin.
Thanks again
Lisa

Lisa

Posted at 4:54 pm on April 26th, 2010

oops sorry that did not show up right… I put a break before the testimonial

Jason Craig

Posted at 5:04 pm on April 26th, 2010

Hi Lisa,

Glad it worked out and you enjoy it!

Thanks,

Jason

Ross

Posted at 1:18 am on April 27th, 2010

Hi guys, I have this installed on a WP/ BP setup of the latest versions, 2.9.2

It looks to have istalled correctly but upon submittting a testimonial through the form on my site it returns a 404 error when attempting to navigate to this link.

http://sharespeak.co.uk/wp-content/plugins/testimonials/submittestimonial.php

Any ideas why that is?

Jason Craig

Posted at 1:34 am on April 27th, 2010

Hi Ross,

Yes, you shouldn’t be using that absolute URL like that. Just embed the shortcode in a page and it will work.

Thanks,

Jason

Ross

Posted at 1:40 am on April 27th, 2010

Hi Jason, thanks for such a fast reply! That URL is created by the form that appears through the shortcode. I have only added the shortcode to a page and not altered anything else. Any ideas?

Jason Craig

Posted at 1:57 am on April 27th, 2010

Hi Ross,

It’s acting like the submittestimonial.php file is missing. Can you verify that it is in the testimonials folder?

Thanks,

Jason

Ross

Posted at 2:01 am on April 27th, 2010

Will check that as soon as I get home Jason and let you know! Thanks again!

Ross

Posted at 7:44 am on April 27th, 2010

Hey Jason,
Submittestimonial.php is indees in the folder under /plugins/random-testimonials/submittestimonial.php

I let WP/BP install the plugin so it wasn’t FTP’d manually.

Still no joy though.

Ross

Posted at 1:38 pm on April 27th, 2010

Just noticed that the URL the form tries to send me to is under

/wp-content/plugins/testimonials/submittestimonial.php

The plugin is actually in a folder named

plugins/random-testimonials

does the fact that the ‘random-’ is missing cause the problem?

Ross :)

Jason Craig

Posted at 3:42 pm on April 27th, 2010

Hi Ross,

Yes, that’s the issue. You can just rename the folder and should be fine or wait till later today and we’ll probably release a bug fix.

Thanks,

Jason

Ross

Posted at 5:32 pm on April 27th, 2010

Hi Jason. It’s gonna need some kind of update from you guys as renaming the file to just /testimonials now stops the actual form itself embedding in the site.

I think you’ll need to make the plugin look for the submittestimonials.php file in the /random-testimonials folder

Thanks for all the help,
Ross :)

Ross

Posted at 10:20 pm on April 27th, 2010

Jason, THANK YOU for such a very quick response and a plugin that now works GREAT!
Loving your work!
Regards
Ross :) :) :)

Jason Craig

Posted at 10:54 pm on April 27th, 2010

Your welcome Ross! Thanks for bringing it to our attention so we could fix it.

Thanks,

Jason

David

Posted at 4:04 pm on May 28th, 2010

I have the testimonials displayed in a widget on my side bar. Is there a way to limit the number of chatacters displayed? Some of these get very long. For example: “blah blah blah bl… John Smith”

Jason Craig

Posted at 3:01 am on May 29th, 2010

No there is not currently.

Jody

Posted at 6:20 pm on December 16th, 2010

Hey guys,
Upon installing this and trying to add a new testimonial I’m getting these errors above the queued testiominals list:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/3/d112208226/htdocs/emotion/dev/wp-content/plugins/random-testimonials/adminpanel.php on line 151

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /homepages/3/d112208226/htdocs/emotion/dev/wp-content/plugins/random-testimonials/adminpanel.php on line 152

and these errors above the list of tesimonials:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /homepages/3/d112208226/htdocs/emotion/dev/wp-content/plugins/random-testimonials/adminpanel.php on line 266

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /homepages/3/d112208226/htdocs/emotion/dev/wp-content/plugins/random-testimonials/adminpanel.php on line 267

I’m running WP 3.0.1 – any ideas?

many thanks in advance :)

Anayah

Posted at 2:37 pm on March 13th, 2011

Hey guys-

We LOVE this plugin, but want to change the header on the widget. When testing the site with users, it’s the number one thing that they get confused about. I’m not CSS savvy, but can follow directions.

How can I change the header from “Random Testimonials” to something else?

Thanks for your help!

joanne

Posted at 11:50 am on August 10th, 2011

How you get it to display in a page?

Post a Comment