WP-Testimonials: a WordPress Plugin

WP-Testimonials is a plugin for WordPress that lets you display your customer/client/product testimonials on your blog.

You may add, edit or remove testimonials through the “Testimonials” navigation tab in the admin area. The plugin includes the option to display one or more random testimonials in your sidebar using a widget.

Testimonials can also be displayed all on one page. Simply create a new page in the dashboard (leaving the content area blank) and then select that page from the drop-down list in the Testimonial settings.

All of the information you need to install and use the plugin is contained in the readme file.

Download

Click here to download the latest version of WP-Testimonials

Release History

Version 3.4.1 – August, 19, 2010

  • Bug fixes for display page

Version 3.4 – June 24, 2010

  • Update for compatibility with WordPress 3.0
  • Bug fix for shortcode
  • Formatting updates to public pages for HTML5 compliance
  • Removed option to open client site in new window (for HTML5 compliance)

Version 3.3 – June 7, 2010

  • Added ability to include image (shows only on page, not in sidebar)
  • Added default settings to wp_options on install or upgrade from version prior to 3.3
  • Modified edit testimonials form to use labels
  • Removed obsolete code from style sheet
  • Added settings link to plugins page
  • Bug fixes when saving settings

Version 3.2 – April 28, 2010

  • Added charset to table creation

Version 3.1 – April 15, 2010

  • Minor bug fix to correct blank sort order on edit

Version 3.0 – April 12, 2010

  • Modified HTML to use blockquote and cite for formatting
  • Added option to set number of random testimonials in sidebar
  • Added ability to give access to non-administrators
  • Added option to sort page by user defined sort order

Version 2.2 – December 2, 2009

  • Corrected shortcode output

Version 2.1 – August 5, 2009

  • Added backwards compatibility for WP2.7 and higher
  • Option to have client website open in new window

Version 2.0 – August 4, 2009

  • Compatibility with WP2.8 or higher
  • Random block now pulls testimonial via “ORDER BY RAND” for true random order
  • Removed obsolete field in table “views”
  • Pages/posts can now be created using shortcode (eliminates the need for a custom theme page)
  • Added “read more” link to random sidebar block
  • Added configuration options to show/hide “read more” link in sidebar with customizable text
  • Added options to delete table upon deactivation

Version 1.0 – August 8, 2007

  • initial release

Support

Use the comments box below to leave feedback, post a question or ask for assistance.  Please be sure you have read the readme file before posting as most questions are already answered there.

If you are having an issue with blank pages…

I believe the problem is caused when you had a previous testimonials plugin installed and that plugin fails to remove the table when you uninstall it.  This leaves the table in your database which can conflict with the WP-Testimonials table.

To solve this problem, go to the Settings tab of the Testimonials dashboard and check the box to “Remove table when deactivating plugin” and save your settings.  Now, deactivate and then reactivate the plugin.  This should remove the old table and force a clean install of my plugin.

Anyone having the blank page issue should back up their testimonials and try this method to see if it solves the problem.

464 comments on “WP-Testimonials: a WordPress Plugin

  1. I would like to split the testimonials into categories for a ‘testimonials’ section of my site rather than listing them all on a single page, any plans for this?

  2. Pingback: Wordpress Testimonials Plugin | Wordpress Directory

  3. Hello I have just added your plug-in to my site and wanted to know how can I get rid of the block quote image? I doesn’t look good on a black background? I appreciate your help and this great plugin.

    Thanks,

  4. Hi

    this plugin is really wonderful.

    I was wondering if on website option can be “open link in new tab”. could you show me how to do this?

  5. If you have very long or lots of testimonials, is there a way to paginate thru the testimonials, say, 10 per page, instead of creating one huge long Testimonials page containing all 100 testimonials?

  6. Hi,

    I tried WP-Testimonials 3.4 with WP 2.9.1. (via sidebar widget) but:
    * i can’t edit any testimonial because they don not appear in the management section. First I could, but then I deactivated an then reactivatetd the plugin.
    * Images are not displayed
    * full text is not displayed

    hope you can help… thanks :-)

  7. When I install it, I don’t get the Edit Testimonials option. I get “Testimonials” and “Settings”. I did try entering a couple of testimonials, and put the Widget into the sidebar, and the only thing that shows up is the heading of “Testimonials”, no actual testimonials.

    I am using WP3.0, in case you need to know that. :)

    I’ve seen excellent feedback on the plugin, and the description fits what I need. This is all, of course, pre-3.0, which seems to be creating a number of problems for a lot of people. :)

    Thanks in advance.

    Velma

  8. Just installed the latest version into a WP3 setup, and it doesn’t work; I’ve added three testimonials, but they do not appear on the website and there is no evidence within the plugin that they are there.

    It looks like it’s not actually saving them, but I don’t know.

  9. I just downloaded and installed the plugin and in a new WP3.0 blog and also have the Testimonial page blank.

    There is only an option to point to the URL from sidebar.
    I don’t see where to set “Show Testimonials on” page x.

    hmmm?
    K.

    • I have been unable to recreate that error, Boris. I’m so sorry you keep having that problem. I released a beta version of 3.4 last week and received no bug reports and no one else had a blank page error.

      The difference in the code between 3.2 and 3.4 regarding page output are the following. I see no reason why the page would now be blank. =/

      Version 3.2

      $sfs_sorder = get_option('sfs_sorder');
      $table_name = $wpdb->prefix . "testimonials";
      $tstpage = $wpdb->get_results("SELECT testid,clientname,company,text_full,homepage FROM $table_name WHERE text_full !=''
      ORDER BY $sfs_sorder");

      Version 3.4 (added empty sort order check)

      $sfs_sorder = get_option('sfs_sorder');
      if ($sfs_sorder == '') {$sfs_sorder = 'testid ASC'; }
      $table_name = $wpdb->prefix . "testimonials";
      $tstpage = $wpdb->get_results("SELECT testid,clientname,company,text_full,homepage,sfimgurl FROM $table_name WHERE text_full !=''
      ORDER BY $sfs_sorder");

      • Hi Jodi,

        I have the same problem as Boris. Or to be precise it didn’t insert any code on the empty page.

        Tried to insert your code. Could you please give an example of the HTML tags that have to go around it?
        At the moment my page just shows the program code, so I guess it has to be fit into something.

        Thanks,
        Bora

  10. I just updated to the new version for wordpress 3.0 and to things happened. One, the testimonial page that used to show all the full length testimonials now is empty and shows none. Second, in the admin if I click to edit a testimonial, all the fields are blank and I have nothing to edit. I also try to add a new testimonial, click submit and it says my new testimonial was added, but it never shows it in the list of testimonials I have.

    Thanks in advance :)

    • Hmmmmm… sorry you are having problems, Mark. As I mentioned to Boris – I have been unable to recreate the blank page error. The plugin was tested on several configurations and none had a problem after the upgrade. I will continue to search for a solution and will release an update if I can determine what is causing the problem. Until then, you may want to try rolling back your plugin to the version you were previously using (older versions are available from the WordPress plugins directory at http://wordpress.org/extend/plugins/wp-testimonials/download/

    • Hi Josh,

      Currently, there is no setting to allow you to move the link. If you are comfortable with PHP code, you could edit the plugin manually (realizing any updates would be overwritten with future releases).

      Lines 432-439 handle the printing of the link. You could cut or copy those lines to appear above the loop (which starts on line 409).

      I will take your suggestion and put it on the roadmap for the next release.

      Jodi

    • Sorry – just reread your comment and you said page. I was thinking you meant the sidebar widget.

      For the page, the link is printed during lines 740-751. You could cut those lines and move them above the testimonial (line 730).

      I will add this to the roadmap, along with an option for controlling the “read more” link in the sidebar.

      • I just upgraded the code to support different categories (added fields to the table) and ran custom php for the different pages on the side bar. If you would like to upgrade the widget to support this functionality, just let me know and I’ll send you the updated plugin.

    • Not sure what caused that, but am working on an update today for compatibility with WordPress 3.0. Maybe the update will solve your problem, too.

      • I too am having this problem – was it ever fixed? I am running wordpress v3 and latest wp-testimonial just downloaded – it doesnt seem to save the testimonials (even though it says it has) and there are no “manage” facilities….

  11. It appears that the Testimonial plugin has some css(?) problems in Chrome and Safari (at least on Mac); instead of showing in the colun it is supposd to, it shows in the main content part of the site and ‘pushing’ the main content down. Any way of solving this?

  12. Hi there,

    I was wondering if there is anyway to back up the testimonials or export them and then import them so that they can be put on another WordPress site so that you don’t have to copy and pasted each one into a new site.

    I know you can back up your full database but only want to back up or export the Testimonials.

    Anyone know how to do this?

    Kindly,
    Cathy

  13. Hello,

    Thank you for your nice work with wp-testimonials! =) I was wondering if you might add an option to set the testimonial links to open in a new window? The target attribute would really help because some times we want someone to leave the site and sometimes we just want a new window to open to that site. What do you think??

    Thanks and keep up the good work!

  14. I apologize to those having issues with a blank page after the upgrade. Unfortunately, I have not been able to recreate this problem, so am at a loss when troubleshooting.

    If one of you having the problem is comfortable with PHP… please try changing the following (around line 728 in wp-testimonials.php) and let me know if it solves the problem:


    $storder = get_option('sfs_sorder');
    if ($storder == '') { $sfs_sorder = 'testid ASC'; } else { $sfs_sorder = $storder; }

    change to


    $sfs_sorder = get_option('sfs_sorder');
    if ($sfs_sorder == '') {$sfs_sorder = 'testid ASC'; }

    • I just installed a new client’s site with ver. 3.3 intendign to test your suggested PHP code change, but the plugin works fine as is!

      Perhaps the issue is related to upgrading from a previous version? Or perhaps there’s a conflict with another plugin?

  15. My testimonials page is also blank. It worked fine for over a week until today. The settings are the same. I added a testimonial and noticed it did not appear on the list of current ones that can be selected to edit!
    What can I do to fix this???

    • Please see my reply to Norcross.

      If anyone else is having the same issue and can access the error logs on your server would you look and see if you spot any errors related to the testimonials table… if you find any errors, please send them so I can troubleshoot.

      • I changed the php and there was no difference. However, before I made the change I went to the full page and it was no longer blank! HOWEVER, it contains only the 2 testimonials I added yesteday, which did not show in random sidebar nor on the list of items I could edit. there were 4 on the list which rotated in the sidebar but the full page was blank yesterday. Today the 4 still rotate but are not on full page.

        So there seems to be 2 different databases??? pre-release and 4, post has 2 and they can’t be edited.. crazy… Hopefully this is a clue….

        I’ll see if I can get to the error log later.

        • Hmmm that is odd. Can you see your database tables in phpmyadmin or something similar? If you can – look and see if you have two tables. If you only have one would you export the contents and send it so I can see why the data is saving differently?

          • The program does work with the suggested PHP change! Thanks.

            change line 728 in wp-testimonials.php to the following:

            if ($storder == ”) { $sfs_sorder = ‘testid ASC’; } else { $sfs_sorder = get_option(‘sfs_sorder’); }

  16. I just upgraded to 3.3 and now my page is blank. I’ve set the sort order, added the shortcode, etc. I even tried making a new page to see if that would work, but no dice. Both the short text and full text is filled in. Any ideas?

      • Sorry you are having a problem. I have no idea why the page would be blank. Before the release I tested the upgrade on 3 different environments and had no problems.

        Are you comfortable with PHP where you could try changing a line in the code to see if that solves the problem? If so, change line 728 in wp-testimonials.php to the following:

        if ($storder == '') { $sfs_sorder = 'testid ASC'; } else { $sfs_sorder = get_option('sfs_sorder'); }

        If that works, please let me know and I’ll put out an update.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>