LessThanWeb
hand coded, clean and usable code

New Wordpress theme Corpy just released with a special offer!

WP Plugin – LTW Testimonials

LTW Testimonial version 2 is in development.

Release date: Hopefully soon..

There will be no more updates for the current version.
Support is still available but please read the comments as most of the solutions to the problems have already been posted.

 

LTW Testimonials is a powerful WordPress plugin that enables you to have multiple groups of client testimonials on a single blog.

Hmm, let me explain it a bit more. Let’s say you have multiple products or services or whatever, and you would like to show different client testimonials for different products/services/… without too much work.

Well that is why LTW Testimonials was developed. It enables you to quickly and easily add or edit different client testimonials.

Adding and/or creating new groups is even easier. To use it you simply include the generated shortcode onto the page where you would like to display client testimonials.

It also comes with a widget that will show 1 or more random client testimonials all over your blog pages.

So, what are you waiting for? Give it a try!

Current version: 1.3.0

Download link

Keep in mind that this plugin is free. If you wish to support the development of the future version of this plugin, please donate a few bucks.

== Changelog ==

Version 1.3.0 (2010/11/02)

  • The “More” link in the widget is now linked to that testimonial. In other words, it will scroll to the testimonial itself when the link is clicked
  • Added new option to widget: Show client picture

Version 1.2.1 (2010/10/25)

  • Fixed a bug where new line was ignored

Version 1.2.0 (2010/10/04)

  • Added option to update the order from the client testimonial overview page
  • Added option to update the “Show in Widget” checkbox from the client testimonial overview page
  • Changed deactivation of the plugin. If you select to delete data, it will delete tables and also all other settings
  • Added URL below the name of the client in the client testimonials overview page
  • Added option to also upload client picture
  • Added client picture to the client testimonials overview page if there is any

Version 1.1.5 (2010/09/13)

  • Fixed the CSS tag being shown as empty if the CSS from Design page is removed
  • Fixed bug in the widget Show More url if Default permalinks structure is selected
  • Added Show in Widget field to testimonials overview page

Version 1.1.4 (2010/08/31)

  • Fixed user defined sorting bug
  • Fixed backslashes in the widget

Version 1.1.3 (2010/08/28)

  • Bug fixed when editing client testimonials. The text area had wrong name field.

Version 1.1.2 (2010/08/24)

  • Another bug fixed. It disabled adding new groups

Version 1.1.1 (2010/08/24)

  • Fixed a bug where the selected dropdown item on the Groups page of the add and edit form was not saved correctly

Version 1.1.0 (2010/08/22)

  • Added the donation link and changed the “Got a question?” link to “Support”
  • Added option on the settings page to promote this plugin. It adds a little link “Powered by LTW Testimonials” at the bottom of the testimonials page
  • Added “Set word limit” option to widget
  • Added shortcode for displaying all the testimonials on one page
  • Added option to widget to display only testimonials from one selected group

Version 1.0.2 (2010/08/17)

  • Fixed the wrong URL for the “Got a question?”
  • Added missing code for saving the two “show more” options in the widget
  • Fixed the random bug in the widget

Version 1.0.1 (2010/08/11)

  • Fixed a bug that deleted HTML and CSS design if the settings page was updated

Version 1.0 (2010/08/06)

  • Initial version

How to display testimonials on a page?

To display testimonials on a page, you need to insert the shortcode into the page. Shortcode is located on the “Groups” page. In the “Shortcode” column.

13 Trackbacks/Pingbacks

  1. Wordpress Testimonials – Update 1.0.1 | LessThanWeb on August 11, 2010
  2. Recently updated wordpress plugins: 2010.8.16 (2) | WP Note on August 16, 2010
  3. LTW Testimonials – Update 1.0.2 | LessThanWeb on August 17, 2010
  4. LTW Testimonials – Update 1.1.0 - LessThanWeb on August 22, 2010
  5. LTW Testimonials – Update 1.1.1 Now Available - LessThanWeb on August 24, 2010
  6. LTW Testimonials – Update 1.1.3 Now Available - LessThanWeb on August 28, 2010
  7. LTW Testimonial – Update 1.1.4 - LessThanWeb on August 31, 2010
  8. LTW Testimonial – Update 1.1.5 - LessThanWeb on September 13, 2010
  9. LTW Testimonial – Update 1.2.0 - LessThanWeb on October 4, 2010
  10. LTW Testimonial – Update 1.3.0 - LessThanWeb on November 2, 2010
  11. Three WordPress Plugins for More Effective Online Marketing on April 19, 2011
  12. LTW Testimonials review, discussions, does it work, and ratings on Loadwp.com | Loadwp.com on August 17, 2011
  13. Testimonials op je WordPress-website: laat je klanten spreken! | Tekstschrijver in Nijmegen | Mariska Media on April 26, 2012

415 Comments

  1. # marujobhz said on August 17, 2010 at 03:59

    hi. im using this plugin in a website, as a widget. but it doesnt works as random. i have 25 testimonials. i setup 20 in widget. when i check on ‘Display “Show More” link: and type the text, i click save, and this 2 fields remains ‘white’… is like is not saving this options. in settings, i mark show latest posts, but in widget always show the first… and not random the testimonials too. any idea? thanks!

  2. # Anze said on August 17, 2010 at 09:57

    Hi marujobhz,

    Indeed, you have found a bug. I’ve fixed them and uploaded the new version. Should soon appear in your WP plugins area that new update is available.

    Thank you for reporting this.

  3. # marujobhz said on August 17, 2010 at 13:13

    Hi Anze, i update an now its ok!! thanks a lot! congratulations!!
    i suggest that in next version, you can create a option to editors can edit/enable/add testimonials too. like : ( ) administrator ( ) editor ( ) contribiutor
    if not hard work to you… this plugin is very cool. i test others and yours is the best.

  4. # superflywebdesigns said on August 19, 2010 at 03:04

    Thanks for this plugin! Can you make the widget display 1 random testimonial from a specific group , rather than display one from any group or using the shortcode to display them all.

  5. # Anze said on August 19, 2010 at 12:24

    marujobhz & superflywebdesigns,

    I will add the requested features on the TODO list.

    Thank you for using the plugin. ;)

  6. # Frank said on August 19, 2010 at 22:14

    Widget works OK on pages except my home page. (I’m using pages instead of posts)

  7. # Anze said on August 22, 2010 at 10:26

    Frank, which theme do you have on your blog? Sounds very strange that its working on all pages except the home page.

    Let me know and i’ll check it out. ;)

  8. # Rob said on August 23, 2010 at 21:53

    Using 1.1.0 with WP 3.0.1 and it is working except for the link at the bottom of the widget. I can’t find where to change the default URL of site.com/blog/hello_world to the proper URL.

    Other than this, it’s exceeded my expectation – thanks!

  9. # Rob said on August 23, 2010 at 22:00

    I found the place under “Groups” but when I set the group to show on a specific page, the actual result is that the link points to the current page. So if I am on “Take a Class”, the Show More Testimonials” link will be site.com/Take_A_Class

  10. # Rob said on August 23, 2010 at 22:04

    Sorry for the three posts!

    It seems that the plug-in won’t save the page when I select it from the “Testimonials Page” in the group settings, even though it says it was successfully updated. When I leave that page and return, the drop down is blank again.

    FWIW, I am using the theme “Desk Mess Mirrored 1.7″

  11. # Anze said on August 24, 2010 at 07:25

    Rob,

    Check it and you are correct. It was a bug where the selected dropdown item was not correctly saved.

    I’ve fixed it and uploading the new version now.

    Let me know how it works out. ;)

  12. # Striob said on August 24, 2010 at 13:37

    Hi, I wanted to check out your plugin but it does not let me add groups for testimonials. Too bad…

  13. # Rob said on August 24, 2010 at 18:48

    Anze,

    Thanks so much, it worked perfectly. I did have to change the permalink for the page to the page name but that was a 5 second task. :-)

    Cheers

  14. # Anze said on August 24, 2010 at 20:16

    Striob, oh yes, :) I fix one bug and another appears. :)

    Thanks for letting me know, it has been fixed and now you should be able to add new groups just fine.

  15. # Kandra said on August 24, 2010 at 22:06

    Really Great plug in!

    Just one question. Where do I set the link for the “show more” text link? I looked in settings, groups, everywhere…. I want to link to /testimonials and it currently links to the same page you are on (ie if on services it links to /services).

    WP 3.0.1, LTW 1.1.2

  16. # Anze said on August 25, 2010 at 07:37

    Hi Kandra,

    Look at the widget to change that text. ;)

  17. # Kandra said on August 25, 2010 at 15:56

    I see how to change the text, but how do I control the link URL?

  18. # Anze said on August 25, 2010 at 18:33

    You select the page where you want the link to point at when adding/editing groups.

    If for example you have a page called “testimonials”, you select this page when you add new group or edit existing one.

    That’s it. The URL in the widget will now point to the “testimonials” page if a testimonial from that group will be shown.

    —-

    Or did you find a bug and something is not working? :)
    Let me know, you can email me and I can take a look at it if you want.

  19. # Kandra said on August 25, 2010 at 19:55

    ah ha! Thank you – I did not think to look there as I added the groups when I added the first testimonial.

    It’s perfect, and I love the plug in. Thank you!!

  20. # Striob said on August 26, 2010 at 14:48

    @ Anze, thanks for solving the problem so quick. Looks like everything works perfect now. I like the plugin a lot, since it offers this feature of grouping the testimonials – very useful!

  21. # Wazomba said on August 27, 2010 at 22:53

    Good plugin it seems. but I’m facing a problem I cannot figure what is wrong. To be short, there is anti-slaches each time an apostroph (???) is written in a testimonial. can you help ? (my texts are in french like below :

    …Je peux aujourd\’hui m\’occuper plus intensement de l\’alignement stratégique du système d\’information…

    Thank you

  22. # Anze said on August 28, 2010 at 09:39

    Hi Wazomba,

    That is not apostrophe.

    ' = apostrophe
    ’ = left single quote

    I just tested apostrophe and all versions of quote chars and its working just fine.

    It will be hard to solve this since I cannot reproduce this behavior on my end.

    If you want, you can email me and we go into more details and try to figure out what’s going on.

    Let me know.

  23. # copyferret said on August 30, 2010 at 22:04

    Hi

    Like Wazomba I get backslashes.

    But a backslash before each double quote mark (see below)!

    I also want to have a linespace after the title of each testimonial (below, the title is “Love Your Writing Style”). And also to separate paragraphs.

    But the text just runs on.

    “Love Your Writing Style” \”Love your writing style, [name]. Strong, concise, persuasive, and power-packed with benefits. Keep up the great work!\” Gary Bencivenga

    I hope I don’t have to deactivate your software and use a differnt WP plugin.

    Thanks for your help.

  24. # Anze said on August 31, 2010 at 08:57

    copyferret, like I said it to Wazomba, contact me over email so that we can go into details to see what the problem is as I cannot reproduce this effect on 4 different servers.

    As for the title and separate paragraphs. Use tags for title and

    tag for separate paragraphs.

    Current version has plain text editor (you have to add HTML tags on your own) while the next one will have rich text editor.

  25. # copyferret said on August 31, 2010 at 11:07

    Anze

    Many thanks for your fast reply.

    I’ve just sent you an email.

    As mentioned in my email, I also can’t
    get the testimonials to appear in the
    order I want them to.

    Has anyone else had this problem?

  26. # copyferret said on September 1, 2010 at 11:24

    Anze

    I’m very impressed with the high level
    of service you give.

    You responded quickly to my emails and
    dealt with my queries efficiently and
    courteously.

    Many thanks!

    A very satisfied customer (I’ve made a
    donation to LessThanWeb — should show
    up shortly in your PayPal account).

    Kind regards

    copyferret

  27. # Rob Rollings said on September 6, 2010 at 16:07

    Anze,
    using as a widget but will only display 1 comment and from the first group. If I choose another group says “There are no testimonial yet” but there are?

    Quite new to WordPress so maybe doing something silly!
    regards,
    Rob

  28. # Anze said on September 6, 2010 at 17:41

    Hi Rob,

    Check if the “Show this client testimonial in the Widget” is checked for those that you wish to show in the widget.
    To check, simply “edit” testimonial and you will see if the checkbox is checked or not.

    If that’s not the problem, contact me over contact form and i’ll check it out.

  29. # Rob Rollings said on September 6, 2010 at 18:04

    Anze,
    thanks for quick response, that’s all it was. Now working great.

    I wonder if the widget check box could be displayed in summary testimonial list and both that checkbox and the “order” be editable on the summary page? Just a thought…
    thanks again,
    Rob

  30. # Chris Auman said on September 8, 2010 at 04:06

    Great plugin. Couldn’t ask for much more! I only have one question. Where do I edit the CSS? I want to change a little bit of the layout and can’t find it anywhere! Please advise.

  31. # Anze said on September 8, 2010 at 07:13

    Hi Chris,

    To edit CSS and/or HTML, click on the Design in the menu.

  32. # Chris Auman said on September 8, 2010 at 15:13

    Great. I guess I was looking a little too hard and didn’t look at the obvious solution. I do have another question. I noticed in your updates that it says “Added shortcode for displaying all the testimonials on one page”. How can this be done. Seems that the documentation is minimal for what can be done with the plugin. This really is a great plugin though. Will make sure to donate!

    Please advise. Thanks.

  33. # Anze said on September 8, 2010 at 17:39

    Chris, yes, the documentation is poor at this time. Unfortunately I don’t have the time to write it. But then again, if you ask a question here, i’ll answer it. Maybe I can make a FAQ from this questions soon.. :)

    As for your question, click on “Groups” and at the bottom you have a box that explains it.

    Simply put this shortcode: [show_all_testimonials] into a page and all testimonials will be shown.

  34. # Travis Crosbie said on September 30, 2010 at 11:59

    Hi Anze,

    Great plugin. I’m trying to update the design. I change the CSS and HTML boxes, click update, it says ‘Design Updated’ but it doesn’t actually update the code.

    I click out of the design section, logout of admin, log back in and my updated code is still there, but still no update on the front end widget.

    Any ideas? Could you share where these hard code files are located – I could just go an manually alter them..

    Thanks in advance!

    Travis

  35. # Anze said on September 30, 2010 at 13:45

    Hi Travis,

    The HTML/CSS design affects only the design of the testimonials on the page/post, it doesn’t work on widget. Widget HTML/CSS is taken from the theme you are using.

    If you want to edit it, open file “ltw-testimonials.php” in the root folder and go to line 493. That’s where the output of the widget starts.

  36. # Keith Wootton said on October 5, 2010 at 14:35

    Testing the plugin for a client – looks great so far!

    Some requests:
    1) Summary for widget – would like to include a summary for use in the widget with the full text of the testimonial being displayed on the corresponding page. The link in the widget should also include an anchor ref to display the correct position within the page to save scrolling/searching etc.
    2) embed video – woudl like to upload customer video testimonials to YouTube and to embed them on the testimonials page along with the text and other detail of the testimonial.

  37. # Anze said on October 5, 2010 at 16:46

    Hi Keith,

    1) Limiting the number of words not good enough?
    Making link jump directly to the testimonial, will add it on the todo list.

    2) On todo list ;)

  38. # Roland said on October 7, 2010 at 15:35

    Pretty good work! But there is one questions left:

    Uploaded pictures are not displayed in the widget… is that correct? How can I change that?

    Thanks in Advance.

  39. # Anze said on October 8, 2010 at 09:03

    Hi Roland,

    Pictures are not displayed in widget because that feature is not there yet. I’m still working on how to make widget even more customizable..

    In the mean time, if you want to add image to widget, open “ltw-testimonials.php” file and add this code:

    if ($testimonial['client_pic'] != '')
    {
    	$ltw_client_info .= '<p><img src="'.stripslashes($testimonial['client_pic']).'" alt=""/></p>';
    }
    

    somewhere at the line 535 (image before the testimonial) or a few lines down if you want it after the testimonial.

  40. # Jennifer said on October 10, 2010 at 00:21

    This is a great plugin! I would like to add the client’s city, state and/or title. Is it possible to do that?

  41. # Anze said on October 10, 2010 at 10:01

    Hi Jennifer,

    By default no. You will need to add this extra fields to the code.

    I will add this to the TODO list and include it into one of the future versions.

  42. # Roland said on October 12, 2010 at 14:20

    Hi Anze,

    thanks for your replay.
    Unfortunately code you gave me did’nt work:
    http://awesomescreenshot.com/0362bd052

    Any ideas?

  43. # Anze said on October 12, 2010 at 19:22

    Hi Roland,

    Yes, sorry, my bad. Wrong code..

    Add this:

    if ($testimonial['client_pic'] != '')
    {
    	echo '<p><img src="'.stripslashes($testimonial['client_pic']).'" alt=""/></p>';
    }

    Add it on the same line as before..

  44. # xgp said on October 13, 2010 at 10:54

    nice plugin!

    ahm is there a way to limit the testimonials?

  45. # Randy said on October 13, 2010 at 11:46

    Love this testimonial plug in! The ONLY thing I wish I could see is the option to enable/display the picture ON THE widget itself. This way I could also have the client icon display on the frontpage widget vs the page itself

  46. # Anze said on October 13, 2010 at 15:49

    xgp, by limit you mean how many testimonials should be displayed on a page? If so, no at this time. I’m planning on adding this feature very soon.

    Randy, not supported by default as of yet. It will be in some next version. Until then, you can add modify it a bit to show the image in widget.

    Do this: Open ltw-testimonials.php file and go to line 535 and add this code:

    if ($testimonial['client_pic'] != '')
    {
    	echo '<p><img src="'.stripslashes($testimonial['client_pic']).'" alt=""/></p>';
    }

    This will show the clients image before the testimonial.

  47. # Leland Brandt said on October 20, 2010 at 14:22

    Hi,
    I’m trying out your plug-in and really like how cleanly it is designed on both the back-end and the display part. I created 6 quotes and put them all in the same group. I can see them on the home page, but I had assumed that the widget would load each quote in order either rotating/fading them continually. Right now, it only loads a new quote when I refresh the page. I liked the idea of it dynamically working its way through all the quotes in the group. Am I missing a setting, or does the widget not work in that fashion?

    Thanks!

    Leland

  48. # Anze said on October 20, 2010 at 14:43

    Hi Leland,

    Live refreshing is currently not available. It is on my TODO list and should be included in the next version if all goes well. ;)

  49. # Matt Mansfield said on October 20, 2010 at 18:18

    Great plugin!

    The only issue I am having is that I would like to make line breaks so that some longer testimonials are more readable but everytime I save a testimonial, the extra HTML is stripped out ( and ).

    Any suggestions?

    Thanks!

    -Matt

  50. # Anze said on October 25, 2010 at 15:26

    Hi Matt,

    First off, sorry for late reply, was away..

    I’ve fixed the new line bug. Update to the latest version and it should work now. If not, let me know. ;)

  51. # Matt Mansfield said on October 25, 2010 at 16:04

    Working great after the update…thanks!!!

  52. # ole said on October 28, 2010 at 08:38

    Hi there,

    Loving the plugin!

    I’m wondering whether it’s possible to theme the testimonials the way they are done on this page – http://www.mailchimp.com/?

    Thanks in advance for any help.

    Ole

  53. # Anze said on October 28, 2010 at 09:12

    Hello Ole,

    Of course you can. You have full control over the look of the testimonials. On the “Design” page you can change HTML and CSS code and make it look like that.

  54. # Ole said on October 28, 2010 at 09:51

    Brilliant! Do you have themeing examples/templates available? Sorry to ask but I’m new to this and don’t yet fully know my way around CSS.

    Many thanks,

    Ole

  55. # Anze said on October 28, 2010 at 10:53

    There are no templates available. You will have to play around with HTML/CSS or hire someone to do it for you.

  56. # Ole said on October 28, 2010 at 12:05

    Thanks for getting back to me on this – playing with CSS it is.

    Best regards,

    Ole

  57. # Justin said on October 28, 2010 at 15:33

    I am trying to add an image to a testimonial. I uploaded it, however it is not showing up in the widget. The image is 88px by 88px. Where are the pictures supposed to show up? Is there a setting I need to adjust?

  58. # Anze said on October 28, 2010 at 15:50

    Justin,

    Image is not shown in the widget because this option is missing. You can edit the file and add the missing code (look above in the comments on how to do it) on your own or wait a few days for a new release where the image in the widget will be included.

  59. # Conor said on October 28, 2010 at 20:18

    Nice plugin. Only item I have as an issue is that when we enter a URL for the testimonial, if a user then clicks that link it takes them from our site. This should be a link to open in a new window rather than losing the client on the page.

    Beyond that, great stuff!

  60. # Anze said on October 28, 2010 at 21:46

    Conor,

    Yes, but I didn’t want to do that by default as “target” is not a valid attribute for xhtml strict and also some people don’t like it when you click on a link and new window opens.

    But you gave me an idea for a solution that will satisfy both parties which will be included in the next little release which should be done over the weekend.

    Thank you ;)

  61. # Conor said on October 29, 2010 at 04:44

    Thanks Anze. Like I said, great little script. It does everything that it’s supposed to do and is very useful. I’d just hate the thought of a user clicking a link in a review and then they go browsing someone elses cool new products and forgot why they came to my website ;)

    Look forward to the future changes! Nice work! If you ever need hosting, I’ll be happy to donate it to you!

    Enjoy the weekend. Don’t work too hard!

  62. # Tino said on October 29, 2010 at 21:34

    Hi there,

    This site is in progress and I have tried a few Testimonial plugins. This one by far is the best one I have tried. However, I was wondering why the “Show More” link links the visitor to the page they are viewing the short testimonial on rather than having the ability to specify a full testimonials page. Second thing is on other Testimonial plugins i am able to specify a short phrase of the full testimonial. If they want to read the full one, they click on the “Read More” link. Is there a way to do that with this plugin?

  63. # Anze said on October 30, 2010 at 07:38

    Hi Tino,

    1) Not sure if I understand the question.
    “links the visitor to the page they are viewing the short testimonial”
    Short testimonial?
    The link points to a page of testimonials that belong to that group.
    A new option where you can set the link to always point to a page will all testimonials will be included in the next version, released in 2 days or so.

    2) Right now, the only way to do that is to limit the number of words that are shown in the widget.
    In the next version, you will be able to use a tag that you can insert into testimonial. That way you will control the preview of the testimonial on your own.

  64. # Mike said on November 1, 2010 at 19:57

    How can I display all testimonials on a page?

    You offer the option to link to a specific page for a group, but I don’t see a short code for outputting the testimonials there too.

    Great plug-in! Thanks!

  65. # Mike said on November 1, 2010 at 20:00

    My goodness! you’ve made it too easy. Pleas disregard my previous post. The short-code is under the groups section:

    [show_all_testimonials]

  66. # Tino said on November 3, 2010 at 00:38

    Hi Anze,

    Downloaded the latest version with the word limit option for the widget, works like a charm! However the “Show All” or “Read More” link still defaults to the page i am viewing the widget on. It does not refer to a page or post where the Short Code is placed. Basically I just want the ability to have my audience Read All testimonials on one page.

    Thanks Anze, great Plugin!

    Tino Fenotti

  67. # Anze said on November 3, 2010 at 12:33

    Tino,

    Did you set the “Testimonial Page” for the group under Groups page?

  68. # Finance Tutor said on November 5, 2010 at 14:06

    Can you tell me how I can use different testimonials on different blog pages or How I can use difference categories in different blog pages.

  69. # Anze said on November 5, 2010 at 17:42

    Under “Groups” you have shortcodes. Use them to show only testimonials from that group on the page you define for that group.

    Shortcode looks like: [testimonial group="1"]

  70. # Philip Desmore said on November 8, 2010 at 00:21

    Hi,

    I was looking for an easy way to add testimonials to my site…
    It seem here that I need to do most of the work… Eacks.. I hate work!

    But I do like your plugin and hard effot… Do not get me wrong…
    May I suggest some features!? Like a nice form where a client/customer can upload a picture, fill out the dat / info and submit the whole thing…

    Then when admin has (edited) accepted the submission.. It could be posted!?

    Like this form/script (check the buttom of page) “Tell Us Your Story” script from “Site Builder” << Grappy tools – But this has something?!

    http://www.website-design-and-more.com/build-your-website.html
    When adding a form – the whole story

    Combine this script / idea – Include Captcha and this testimonial plugin.. and it will be a winner!! :-)

    Enjoy your day!

  71. # Anze said on November 8, 2010 at 09:36

    Hi Philip,

    All of that will be part of version 2, not to worry. ;)

  72. # elaine said on November 8, 2010 at 20:38

    Hi there
    I love this plug-in, it’s so easy!
    I have two questions:

    1. How do I NOT display the photo/image on the Testimonials page (next to the Testimonial?)

    2. I’d like the COLOR of the text that shows up in the WIDGET to be a different color from the text that shows up on the TESTIMONIALS PAGE. Can you tell me where in the CSS I can do that??

    thanks so much!!

  73. # Anze said on November 9, 2010 at 10:07

    Hi Elaine,

    1) Go to Design and in the HTML box and remove this: <div class=”ltw_tes_image_cont”><img src=”%image%” alt=”"/></div>

    2) You can try by adding this to the CSS:
    .widget_ltw_testimonials p {
    color: #ffffff; /* White text color */
    }

  74. # Amelia said on November 10, 2010 at 20:52

    Can you advise as to how to make this plugin available to editors? This is somewhat urgent, as only Administrators can add testimonials and I need to allow editors to do so. I will make another donation if you can provide me this answer.

  75. # Tyy said on November 11, 2010 at 20:56

    Hello,

    I have a question regarding the css styling for the widget. I have added the code below to add some padding around the testimonial in the widget, but when I do it adds padding around the name and the “read more” which leaves a lot of white space. I have looked at other widgets and they are all wrapped in a textwidget div after the widget wrap with the padding set around that. Is there an easy way to do this? I have played around with all the options I can think of, but it keeps adding to much white space either around the text or the title. Here’s the code I added:

    #sidebar .widget_ltw_testimonials p {
    margin: 0px;
    padding: 10px;
    }

    I have done it with and without the “p”, but it still causes problems. When looking at all my other widgets I see they are wrapped with a textwidget class within the widget-wrap. Can this be done here? Thanks for this great plugin and your help!

  76. # Anze said on November 11, 2010 at 21:43

    Hi Tyy,

    Currently the widget is a bit of a mess if you will. :)
    I won’t improve it as i’m working on version 2 of the plugin that will solve this problem and lots of others..

    But for now, the most simple solution is to edit a file called “ltw-testimonials.php”, go to line 542 or there around where you should find this line:

    echo '<p>'.stripslashes(nl2br($testimonial['testimonial'])).'</p>';
    

    Simply add a class to the tag and use that class in the CSS to style just the testimonial text.

    echo '<p class="ltw_testimonial_text">'.stripslashes(nl2br($testimonial['testimonial'])).'</p>';
    

    You can also do that for the other elements that are shown in the widget in the same part of the code.

    Sorry, but that’s the only way for version 1.x

    Let me know if you have any problems.

  77. # Anze said on November 11, 2010 at 21:52

    Amelia,

    Only way you can try is to edit some code.

    This will be part of version 2 but for now, you can try by editing a bit of code. It should be pretty easy, haven’t tried it so let me know if it works..

    Open file “ltw-testimonials.php” and go to line 151. On this line and a few lines below, you need to set the correct permission for editor.

    Code that needs to be changed:

    	//	Add a new top-level menu
        add_menu_page(LTW_TES_NAME, LTW_TES_NAME, 'administrator', 'ltw_manage_testimonials', 'ltw_manage_testimonials', WP_PLUGIN_URL.'/ltw-testimonials/images/icon.png');
    
    	//	Create subpages
    	$ltw_tes_testimonials_manage = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Manage', LTW_TES_UNIQUE_NAME), __('Testimonials', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_manage_testimonials', 'ltw_manage_testimonials');
    	$ltw_tes_testimonial_groups = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Groups', LTW_TES_UNIQUE_NAME), __('Groups', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_manage_testimonial_groups', 'ltw_manage_testimonial_groups');
    	$ltw_tes_testimonial_design = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Design', LTW_TES_UNIQUE_NAME), __('Design', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_manage_testimonial_design', 'ltw_manage_testimonial_design');
    	$ltw_tes_testimonial_settings = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Settings', LTW_TES_UNIQUE_NAME), __('Settings', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_tes_settings', 'ltw_tes_settings');
    

    Change the ‘administrator’ part to ‘moderate_comments’, look below for the fixed code:

    	//	Add a new top-level menu
        add_menu_page(LTW_TES_NAME, LTW_TES_NAME, 'moderate_comments', 'ltw_manage_testimonials', 'ltw_manage_testimonials', WP_PLUGIN_URL.'/ltw-testimonials/images/icon.png');
    
    	//	Create subpages
    	$ltw_tes_testimonials_manage = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Manage', LTW_TES_UNIQUE_NAME), __('Testimonials', LTW_TES_UNIQUE_NAME), 'moderate_comments', 'ltw_manage_testimonials', 'ltw_manage_testimonials');
    	$ltw_tes_testimonial_groups = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Groups', LTW_TES_UNIQUE_NAME), __('Groups', LTW_TES_UNIQUE_NAME), 'moderate_comments', 'ltw_manage_testimonial_groups', 'ltw_manage_testimonial_groups');
    	$ltw_tes_testimonial_design = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Design', LTW_TES_UNIQUE_NAME), __('Design', LTW_TES_UNIQUE_NAME), 'moderate_comments', 'ltw_manage_testimonial_design', 'ltw_manage_testimonial_design');
    	$ltw_tes_testimonial_settings = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Settings', LTW_TES_UNIQUE_NAME), __('Settings', LTW_TES_UNIQUE_NAME), 'moderate_comments', 'ltw_tes_settings', 'ltw_tes_settings');
    

    Save the file, upload it and give it a try.

  78. # Tyy said on November 11, 2010 at 23:02

    Hi Anze,

    Thank you very much for your help. I added the php you told me to add and then I went in and edited the css, but it won’t work. Looking at the code, the new class shows up, but my css is not adding the padding. Here is what I have added:

    #sidebar .ltw_testimonial_text p {
    margin: 0px;
    padding: 10px;
    }

    I have tried it with and without the p and it won’t work. Am I doing something wrong? Thanks again for your help.

  79. # Anze said on November 11, 2010 at 23:28

    Tyy, where did you add that CSS code? In the style.css file for your theme (correct) or in the “design” box in testimonials plugin (wrong)? :)

    Also, #sidebar should be .sidebar as its defined as class not an ID.

    Your new CSS code should be:
    .sidebar .ltw_testimonial_text {
    margin: 0px;
    padding: 10px;
    }

  80. # Tyy said on November 12, 2010 at 00:00

    Hi Anze,

    Ok, I have added this to my themes css:

    .sidebar .ltw_testimonial_text {
    margin: 0px;
    padding: 10px;
    }

    Still does not work. I’m totally confused by this. Any other thoughts. Thanks!

  81. # Anze said on November 12, 2010 at 10:55

    Tyy,

    Send me an email with the URL to the website where you have this plugin running and I’ll take a look.

    Should work just fine if you did everything correctly.

  82. # Tyy said on November 13, 2010 at 21:38

    Hi Anze,

    I would email you the URL, but I have the site in maintenance mode until it is ready to go live for my client. I tried one more thing, but it still didn’t change anything. Here is what I have right now:

    .sidebar .ltw_testimonial_text {
    margin: 0px;
    padding: 10px !important;
    }

    If you have any other ideas without seeing the site I would greatly appreciate it. Thanks again for your help.

  83. # Tyy said on November 13, 2010 at 22:02

    Hi Anze,

    Well I figured it out. I kept trying different things until it finally worked. Here is the code I used:

    #sidebar .ltw_testimonial_text {
    margin: 0px;
    padding: 10px !important;
    }

    Thanks again for your help!

  84. # elaine said on November 14, 2010 at 22:28

    Hi there,

    I am having the same problem as Tyy; I need to tighten up that space between the testimonial text and the Name/Link area of the widget;

    I’ve tried his solution but it is not working for me.

    I am using a CSS Custom Code or Pages and Posts; but even when I add Tyy’s solution to the Home page Custom CSS box, it does not remove the extra space in the widget text area. I also added his solution to my Theme’s CSS but no go….

    Can you help? I think it’s just a matter of me figuring out WHERE to place the code…I would have thought it would go into the Design area of your Plug-In, but above you say that is the wrong area to place it (I did try it anyway and did not work)

    I’m looking forward to 2.0 of this plug-in, I really like it!

    thanks!!

  85. # Anze said on November 15, 2010 at 11:30

    Hi Elaine,

    Best way would be if you contact me over email (use the contact form), send me your URL where the plugin is installed and I’ll check it and tell you how to do it as your theme is probably different from the one Tyy is using.

    Just like you said, it is just a matter of placing the correct CSS code in the correct file.

  86. # John Cionci said on November 17, 2010 at 21:09

    I still cant find the “Show Random Testimonial” option anywhere.
    I am using v1.3 of the plugin with WP v3.0.1

    Please help!
    Its a great plugin!

  87. # Anze said on November 17, 2010 at 21:42

    Hi John,

    You can show random testimonials by activating the widget. You can set how many testimonials to show at the time and so on..

  88. # Heidi said on November 17, 2010 at 23:13

    I just uploaded this plugin – very excited to use it. I’ve run into a couple of things though that I hope you can clear up.
    1. When I specify the order of the testimonials, when I refresh my page they show up in random order. Doesn’t the plugin allow me to specify how I want them to show up?
    2. There isn’t a clearly defined separation between the testimonials. Is there something that we can insert that would separate them? I played with entering a testimonial with just a horizontal line (for separation) but this doesn’t work because the testimonials are showing up random.

    The other alternative is to create a group for each testimonial but this just starts to look ugly in the widget area.

    Thanks much.

  89. # Anze said on November 18, 2010 at 10:29

    Hi Heidi,

    1) If you wish the show the testimonials in the order you set, you need to go to “Settings” and set the “Sort testimonials on page by” to “User defined”.

    2) If you wish to change the layout of the testimonial, you can do so by changing the HTML and CSS code. Adding a horizontal line is as easy as just adding this code:

    border-bottom: 1px solid #000;

    to the “ltw_tes_item” class in CSS box. A line will be shown on the testimonials pages but not in the widget.

  90. # John said on November 22, 2010 at 03:15

    Nice work, but having some problems (using v1.3.0 and WP3.0.1) Can’t figure out how to make testimonials “random”. I have them all in the same group. Is this correct? Also, added the widget in the footer widget area of my theme and it only displays the first testimonial and never shows another testimonial from the same group regardless of the widget settings. Lastly, the “read more” link doesn’t work. It just re-loads the home page. Can you have a look? Sounds like the bug in the first release?
    http://john6x6.com (bottom of home page)

  91. # John said on November 22, 2010 at 03:22

    No sooner I sent the help request, I learned why only one widget post shows. I didn’t place the check mark to “show in widget”. Also, I think I realized the “Show More” link only works if the testimonials in full text are on the same page or post. No a very useful feature it seems.

    Still can’t figure out the “random” feature you mentioned.

    Sorry to have bothered you!

  92. # Anze said on November 22, 2010 at 11:15

    “Show more” link for the widget has to be set for a group on the Groups page. The show more points to a page where all the testimonials are displayed for that group.. Its job is not to link to an outside website but to a page where more client testimonials are displayed, hence the “Show more”..

    The other one I see you already figured out.. :)

  93. # Lockdown said on November 29, 2010 at 05:30

    First, I really like your plugin. It is one of the very few that allows for groups. The only problem I am trying to solve is trying to allow users to submit the actual testimonial, and then having me to approve it.

    Is this a feature you might add in the future, or have a solution to?

  94. # Anze said on November 29, 2010 at 15:54

    Lockdown, users submitting testimonials feature is planned for the next release.

  95. # Lockdown said on November 29, 2010 at 23:14

    Anze. Thanks for the fast reply. I look forward to your update :)

  96. # Mark said on November 30, 2010 at 11:45

    Nice plugin. In order to make the testimonials display in random order I edited two files:

    1. pages/testimonial_settings.php – added new option ‘Random’:
    <option value="4">

    2. ltw-testimonials.php – added code to sort randomly:
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’4′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY rand() ‘;
    }

  97. # Jon said on December 2, 2010 at 22:31

    Where do i set the word limit??..i have searched the control panel in the CMS and looked in the code and cannot find it…. all my long testimonials have “…” and i cannot find the setting to stop this. thanks in advance!

  98. # Dan Harrison said on December 3, 2010 at 12:57

    Hi Anze

    Very impressed with your plugin for testimonials. I’m wanting to use it for myself plus for a client’s website. It’s very close to be exactly what I need.

    There are 3 of features that would be really useful that are relatively simple to add. Would you be able to get them added soon? I’d be happy to make a donation in return for those features.

    1) A shortcode for an individual testimonial rather than a whole group. I’m aware I could have a single testimonial per group, but would prefer to use the group feature separately for something else.

    2) A search box in the testimonial list that searches the testimonials in the name, business, website and testimonial fields. (I’ve got a lot of testmonials to add, and searching would make life easier).

    3) Adding Gravatar support (based on an email address) as an alternative to uploading a photo.

    Please email me if you want to discuss this further. I’m a WP plugin developer myself, so I’m sure you’re busy.

    Thanks
    Dan

  99. # Anze said on December 3, 2010 at 16:27

    Jon, go to Widgets and there you will find the word limit option.

  100. # Anze said on December 3, 2010 at 16:38

    Dan,

    Some good ideas ;)

    Avatar support is already on the list for the version 2.0.

    When will version 2.0 be released? Honestly, not this year. If all works out, 2.0 will be here sometime in January 2011. I’m rewriting the whole thing and adding loads of new requested options and that takes time when you can do it only when you have some free time. :)

    Really busy with new theme and other work that pays the bills. ;)

    But like I said, sometime in January 2011 the 2.0 should be here.

  101. # Dan Harrison said on December 3, 2010 at 19:00

    Hi Anze

    Thanks for the quick reply. I’ll modify the code myself for now then :)

    Kind Regards
    Dan

  102. # Hannah said on December 6, 2010 at 22:18

    Hi Anze,

    Very nice plug in, looking forward to integrating it. My one question at this point:

    Having trouble calling out the different elements via CSS, specifically the client name and company. I have used the following to success:

    .widget_ltw_testimonials
    .widget_ltw_testimonials p

    But I cannot select the client name or company for styling. I have tried the following unsuccessfully:

    .widget_ltw_testimonials p.ltw_tes_client_nam
    .widget_ltw_tes_client_nam
    .widget_ltw_testimonials p.client_nam

    and probably a bunch more. :) Can you help with the selectors for CSS? If there are other CSS selectors for this plug-in I’d be interested in those as well!

    Thanks so much!

  103. # Ken said on December 7, 2010 at 02:07

    Very nice plug in. I have a question. I read through the questions and comments and some came close to what I was looking for but not quite. some are looking to add a pictures to the widgets that are specific to the testimonial itself. what I need is to add an image that will always be the same in the widget no matter the testimonial viewed. I am having trouble figuring out in the ltw-testimonials.php where this would be added.
    The code if it was html would look like this and placed just below the title of the widget. Thanks in advance.

    <img src="/pathtostaticimage/" alt="" style="float:left;margin:0 5px 5px 0;"
    Where does the above line go in that file thanks again!

  104. # Anze said on December 7, 2010 at 10:20

    Hannah,

    You have full control over HTML and CSS (Design page) when it comes to testimonials listed on the page. Simply add a new tag and add CSS class to it.
    The CSS selectors you listed, don’t exist unless you add them.

    If you are talking about the widget, then it is a bit more complicated and will require some code editing. But it’s the same process as above. Simply add a tag around the client name for example and add a CSS class to it.

    The code for this is in the ltw-testimonials.php, code starts on the line 542.

  105. # Anze said on December 7, 2010 at 10:22

    Ken,

    Two options:

    1) Change the image file itself in the “images” folder and replace it with your own.

    2) Or change the part of the code for the image that starts at line 378.

    if ($testimonial['client_pic'] == '')
    {
    	$ltw_testimonial_str = str_replace('%image%', get_bloginfo('url').'/wp-content/plugins/'.LTW_TES_FOLDER_NAME.'/images/blank.png', $ltw_testimonial_str);
    }
    else
    {
    	$ltw_testimonial_str = str_replace('%image%', $testimonial['client_pic'], $ltw_testimonial_str);
    }
    
  106. # Michslle said on December 11, 2010 at 08:30

    Hi Anze,

    Wow, so far this is the best testimonials plugins I ever used.

    It will be great if the next version can have pagination for testimonial instead of listing all in 1 page.

    Or currently, may I know how I can do pagination?

    Thank you,
    Michslle

  107. # Tammy said on December 12, 2010 at 03:38

    Hi Anze,

    I installed your great plugin on a client’s site that is being developed. Glad I clicked the Read More link before launch. I can’t set the Show More link even following your directions. If I select the page in groups it adds code to the end of the link or even sets it for another page entirely with code added to the end there too. Naturally, the text link takes me to a 404 error page.

    Instead of the link being …/testimonials it is coded as …/testimonials#ltw_testimonial_1.

    How do I get it to stop doing this? It would be great to know where to add it to the css and be done with it. Haven’t a clue where to do that after looking at all the sheets in the editor. Hope to get this issue fixed quickly, the site is one step away from being ready to launch.

  108. # Brigit said on December 13, 2010 at 06:23

    How to display this Testimonial Plugin in my blog(client side) sidebar

  109. # Anze said on December 13, 2010 at 14:07

    Michslle, yes, pagination is planned.
    To do it right now, a lot of changes would be required. Currently it might be easier to split testimonials into groups and show 1 group per page.

    Tammy, “#ltw_testimonial_1″ added to the end of the link should not show you an 404 page. Can you send me link to the website with the problem (use contact form)?

    Brigit, use the widget to show the testimonials in the sidebar.

  110. # Tammy said on December 14, 2010 at 06:08

    Thanks Anze

    Just a couple of bugs to get worked out and this client’s site will be ready to go live. This is one of them.

    The site is being built here: http://witnword.com/preview2/

  111. # Michslle said on December 14, 2010 at 07:55

    Thanks Anze. May I know when will pagination be released?

    Just a suggestion, you might want to add css for widget. I did some changes so that I can display my widget to what I want. Is it possible to add in next version.

    Example: company name website

    and

    continue reading…

  112. # Anze said on December 14, 2010 at 10:15

    Michslle, in the 2.0 version.

  113. # Mike Guenther said on December 16, 2010 at 17:33

    Hello,

    First off I am digging your plugin.

    One question I have-is there a way to have the testimonial page behave like you have it set up in the admin panel? How if you have a long testimonial, show just a bit (like 50-100 characters) of the full testimonial with a “read more” link and have it then show the rest? I dont mean for widget use, I just want to have a main testimonial page and be able to utilize this feature.

    Here is a link to my page that shows a long testimonial at the top that I would like to minimize with this feature.

    http://signhit.com/wordpress/about/testimonials/

    Thanks in advance!

    Mike

  114. # Anze said on December 16, 2010 at 19:07

    Hello Mike,

    Yes, you can do that. Since the admin area already has this feature, you can look at the code on how its done. Then just repeat the same code (probably some small changes to the code will be required) in the function that displays the testimonials.

    It’s a nice idea that I’ve just put on the list for the 2.0 version.

    Thanks.

  115. # Mike Guenther said on December 16, 2010 at 20:03

    Great, thx-I will play around with it!

    Mike

  116. # Mike Guenther said on December 16, 2010 at 20:08

    Well, considering that’s a TON of code and I am no programmer by any means I will probably just wait for Version 2 :).

    thx again for a great plugin!

    Mike

  117. # Stephanie said on December 18, 2010 at 23:19

    Hello – I’m getting this error:

    Fatal error: Cannot redeclare class pagination in /home/socialtopia/socialtopia.net/wp-content/plugins/ltw-testimonials/pagination.class.php on line 2

    Any idea on how to fix it? Also, can I display comments on a page in two columns instead of one? Thanks!

  118. # Anze said on December 20, 2010 at 15:10

    Hi,

    You are probably using another plugin that creates class called pagination. Or maybe even the theme you are using.

    To fix it, you will have to change the name in either testimonials plugin or one of the other plugins/theme.

    By default no, you cannot show them in two columns. You can recode it show it like that. I think you could even do it with just CSS/HTML changes without touching the php code.

  119. # Stephanie said on December 21, 2010 at 03:42

    Change the name “pagination” to something else – like “pagination2?”

  120. # Anze said on December 21, 2010 at 08:38

    Oh forgot to add that. Yes, change the name “pagination” to something else.

  121. # Stephanie said on January 7, 2011 at 01:40

    Hello

    So glad I found this plugin! I looked through a lot of posts here but didn’t see anything that could help me add more space between the testimony quotes. I’m sure there is an easy answer, but I’m a beginner to this stuff. :)

    Thank you for your help.

    Stephanie

  122. # Anze said on January 7, 2011 at 14:30

    Hi Stephanie,

    In the menu click on the Design and then in the CSS Code box, change the default bottom margin to a higher number.

    The default is 24px as you can see below. Change 24px to something bigger and there should be more space between the testimonials.

    .ltw_tes_item {
    	margin: 0 0 24px 0;
    	overflow: hidden;
    	width: 100%;
            border-bottom: 1px solid #000;
    }
    
  123. # Stephanie said on January 7, 2011 at 20:49

    Anze,

    Thank you for your quick reply. I changed it to 50 but it did not change.

    Also, I am unsure how to use the shortcode to point the testimonials in each group to the correct page. Thank you again.

    Stephanie

  124. # Anze said on January 8, 2011 at 16:37

    Set it to a higher number then. Also, clear browser cache as maybe your browser cached the page.

    Not sure I understand what you mean by “point the testimonials in each group to the correct page”.
    Each group has its own shortcode which you can see on the Groups page. Just insert that shortcode to a page and testimonials from that group will be shown.

  125. # Stephanie said on January 9, 2011 at 20:02

    Hello again,

    I cleared the cache and upped the bottom margin number to 200px and nothing changed.

    I see the shortcode, but I don’t know where to put it. When I paste it in the page html, then the quote shows up on the page, not in the widget (even though I have the box checked to show in the widget). I don’t know where to put the shortcode in order to get the correct quotes to show up on the correct page in the sidebar.

    Thank you.

  126. # Anze said on January 10, 2011 at 22:57

    Weird, then maybe your theme is in conflict with the testimonial classes.. Send me an URL here or to my email (use contact form) and I can check it.

    Shortcode is used for showing the testimonials on a page. But if you want to show them in a sidebar, then you need to use widget and not shortcode. Go to Widgets and activate it. Then you should see testimonials in the sidebar.

  127. # Matt Homer said on January 11, 2011 at 19:46

    Hey, great plugin!

    Problem: the show more link keeps going to an unknown page…

    Info: I have set the testimonials page in admin > testimonials > groups to the correct testimonials page (about/testimonials) I am not sure what doing wrong…

    Question: how do I just make the show more link go straight to the testimonials page (opposed to the actual testimonial)?

    LTW Testimonials: Version 1.3.0
    Wordpress: Version 3.0.4

    Thanks in advanced :)

  128. # Neel said on January 12, 2011 at 13:06

    First of all Happy New Year and Thanks for this wonderful plugin , but i need one more feature that is a box around testimonial on pages as it appear on sales pages , if you help me i’ll be more happy

    Thanks in Advance

  129. # Anze said on January 12, 2011 at 17:27

    Hey Matt,

    To which page does it go when you click on the show more link?

    As for the second part, open ltw-testimonials.php and go to line 577 and remove this: #ltw_testimonial_’.$testimonial['id'].’

  130. # paul said on January 12, 2011 at 19:08

    on a russian website, the text is output as ??????????

  131. # Anze said on January 12, 2011 at 19:33

    Paul, just tested with some random Russian text and it works just fine. Everything being set to utf8. You have a charset problem somewhere.. The tables that the plugin uses are utf8 by default. Change that to whatever you use and try.

  132. # Anze said on January 12, 2011 at 19:39

    Neel, sorry, you got marked as spam :)
    You have full control over HTML and CSS. Adding a box around each testimonial is easy. Just add for example border: 3px dashed #000; to the .ltw_tes_item class in the CSS box and so on.

  133. # Neel said on January 12, 2011 at 20:45

    Thanks;but nothing happen i have tried and failed; can you see my site its on homepage; i just need a box which can make it different from template

  134. # Anze said on January 12, 2011 at 21:53

    Neel, HTML and CSS boxes are for testimonials that are displayed on pages and not for widgets. That’s why it’s not working.

    To style the widget, you need to add CSS code to your style.css

    If you add this to the bottom of the style.css, it should work just fine:

    .widget_ltw_testimonials .widget_content {
    	border: 3px dashed #fff;
    }
  135. # Neel said on January 13, 2011 at 07:45

    Thanks , It working ,I need One more help , How to change box background color , so it can give 3 D effect

  136. # Anze said on January 13, 2011 at 10:52

    Neel, add

    background: #fff;

    to the same class as I’ve shown you above.

  137. # Flash Buddy said on January 13, 2011 at 23:39

    Wow, what a great plugin! I’m loving. I was able to use TimThumb, http://code.google.com/p/timthumb/
    And I have a nice thumbnail image to accompany my testimonial on my testimonial page. I especially was amazed to see I could plug in the url right in on the design setting page. Mine looks like this:

    My question: Would you be willing to code the widget so one could manage the thumbnail size and appearance? I know I can hack the code, but if the plugin upgrades, I’m back to square one.

    TIA

  138. # Flash Buddy said on January 13, 2011 at 23:45
    <div class="ltw_tes_image_cont"><img src="http://housekeepingcolorado.com/wp-content/themes/HouseKeepingColorado/timthumb.php?src=%image%&w=50&h=50&zc=1&quot; alt="Client Testimonials"/></div>
  139. # Thomas said on January 14, 2011 at 15:03

    I,m usin a your plugin and widget on the index page for a website I designed for a client. Groups all point to a testimonials sub page.
    how ever the page is placed /about_us/testimonials/
    and the link more always goes to the root page /testimonials/ and skips the /about_us/ – can we solve this ?

  140. # Matt Homer said on January 14, 2011 at 17:57

    Hey Anze,

    I chopped: #ltw_testimonial_’.$testimonial['id'].’
    from line 577 of ltw-testimonials.php and it kinda worked…

    The button now links to /testimonials, which doesn’t exist as it’s a child page of about and my permalinks are using the custom structure: /%category%/%postname%

    the correct url is: /about/testimonials

    I tried adding: /about/testimonials
    in replacement of: ‘.$ltw_tes_full_testimonials_url.’
    but this didn’t work.. just trow up a php error…

    is the $ltw_tes_full_testimonials_url automatically set or does it need to be manually set somewhere?

    …also… sorry 1 final question, how do I add the testimonial groups to my theme? Adding the shortcode directly doesn’t work, or is the only way a shortcode via page/post in admin?

    Thank you so much, I really appreciate your speedy response!… very pro…

    Matt

  141. # Anze said on January 14, 2011 at 20:15

    Flash Buddy, maybe in one of the next versions..

    Thomas, ah I see, that I did not test. :) Will be fixed in the next version. Until then you will have to fix it. The code is at the line 574 in ltw-testimonials.php. All it needs is to check if the selected page has any parents, if so, add it to the URL.

    Matt, you have same problem as Thomas. You can either hardcode the parent page to the URL or do as I said above.

    To hardcode it, try this at line 574:

    $ltw_tes_full_testimonials_url = get_bloginfo('url').'/about/'.$ltw_tes_page_data->post_name;

    To display testimonials on a page, use the shortcode of the group on the page. Add it via admin page page. :)
    It doesn’t work if you add it directly to HTML.. Needs to be added via page editor..

  142. # Matt Homer said on January 17, 2011 at 15:03

    Thanks Anze, url solve worked perfectly!

  143. # Kristy said on January 20, 2011 at 23:24

    Great plugin – trying it out for a client site. Within the widget we’re trying to limit the characters but no matter what number we put in that field, it still shows the whole testimonial. I’ve read through all the comments above and don’t see that it’s a current bug, but thought I’d check to see if we’re missing something.

    Thanks,
    Kristy

  144. # Karen Leslie said on January 21, 2011 at 01:29

    Hi,

    This is a great plugin. The other testimonial plugin stopped working and this one is far better.

    One question. On the testimonial page the text is going across less than half a page even though it’s 100%. How do I get the text lines to show more on one line? Some of the long testimonials are going on forever because they don’t go all the way across the page.

    Hopefully this page will explain it better than I can…..
    http://www.calarygardens.com/testimonials/

    Regards,
    Karen

  145. # Karen Leslie said on January 21, 2011 at 02:30

    Don’t worry I worked it out – changing the width in the following sorted out the issue.

    .ltw_tes_content_cont {
    float: left;
    width: 800px;
    }

    Regards,
    Karen

  146. # Anze said on January 21, 2011 at 10:20

    Kristy, the limit is per words not characters. I just tested it and its working just fine. If there were any changes made to the code, check if that broke it.

  147. # steve said on January 22, 2011 at 18:17

    Just downloaded it and installed. Can’t get it to set-up.
    Under Testimonials I get Group Already Exists message when I try to create one.
    Under Groups cet-up I get Group With that Name allready exists also – tried “test2″ – set it to a page I created called Testimonials and then Add Group – but it won’t take it.
    Sorry…
    How about a “step 1, step 2, step 3″?

    Thanks though

  148. # Anze said on January 22, 2011 at 22:34

    What WP version are you running?
    Delete all the groups and try again.

    Tested on the latest WP version and it’s working just fine.

  149. # Sara said on January 23, 2011 at 11:53

    great plugin! quick question, how do i show only 6 testimonials a page and have it paginate? thanks!

  150. # Anze said on January 23, 2011 at 12:46

    Sara, pagination is not included in the 1.x version.

  151. # Joi said on January 25, 2011 at 16:55

    This is a great, great plugin!

    I am not a programmer so I am sorry to bother you with this question. The site I am developing will show 1 testimonial per page. However, the client wants this testimonial to rotate randomly (from the group) based on page refresh. Any hints on how to do this? I read the comments above and it seems like the following will get me started, but any additional info you have would be great!

    # Mark said on November 30, 2010 at 11:45

    Nice plugin. In order to make the testimonials display in random order I edited two files:

    1. pages/testimonial_settings.php – added new option ‘Random’:

    2. ltw-testimonials.php – added code to sort randomly:
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’4′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY rand() ‘;
    }

  152. # Anze said on January 25, 2011 at 22:57

    Joi, do what he did and if you have a problem, let me know.

  153. # Abhishek Mukherjee said on January 29, 2011 at 11:09

    Hi!
    Can i use your LTW testimonial in portfolio plugin pages. as for example the portfolio plugin is used to show different projects. when i will click a particular project the project page will open and i want to display the testimonial there. I am a new developer and not aware of everything. I will be very glad if u kindly help me with necessery codes and instructions in details so that i can get what i exactly want…
    Waiting for your cooperation
    Thanking You

  154. # Anze said on January 31, 2011 at 17:07

    You will have to rewrite quite a bit of code. Right now it only works if you insert it into a page or post via shortcode. The function that does that starts at the line 321. So make a new function based on this one and you’ll have to figure it out how to insert it into your portfolio pages as probably the shortcodes are not working.

  155. # ARS said on February 1, 2011 at 20:06

    Hello Anze,
    still wondering when version 2 will be launched?

    I’m waiting for main feature that visitor can easily submit their testimonial directly from frontpage of the site.

    And also, I have my own template and don’t like to use any widget. So how to use all those features and putting them in certain post/page? For example, I want to show latest/random testimonial in my Home page by injecting some PHP Code in the template, limiting the words, and so on.. is it possible?

  156. # Anze said on February 2, 2011 at 13:55

    I am wondering that too. ;)
    It was planned to release it somewhere in the middle of January but that has not happened. I’m really busy with other stuff and since developing this plugin with features that you all want takes time and money, I don’t know when it will be released. There are no donations, no support, just a lot of requests. So at this stage all I can say that the status is unknown for now. I really want to take it to the next level, add all the functions you guys want but it’s a big thing to code.

    Find the widget class in the main file and use that in your themes functions.php file. Probably a few things will have to be changed..

  157. # Nicole Kwong said on February 2, 2011 at 14:00

    Hi, first time to use yours plugin, without problem to install, just have a little change in Design area.(like Testimonials to other words i like).
    Add a new page to show the testimonials,1 testimonials in a group, put [testimonial group="1"] in the page, but only show

    %Name%

    %Relationships%

    no any testimonials show in the page. What is the problem?

  158. # Anze said on February 2, 2011 at 15:22

    You cannot do that unless you change the words in the code also. Search for the default codes like %testimonial% in the ltw-testimonials.php file and replace them with your own.

  159. # Nicole Kwong said on February 2, 2011 at 15:26

    Ok! While if I done this, the testimonials will show correctly?
    Am I doing correct to paste the shortcode in the page?

    Thanks for the quick reply!!

  160. # Nicole Kwong said on February 2, 2011 at 15:40

    As far as I already change the code in php file, but the page still didn’t show any testimonials even the name,company,photos

  161. # Anze said on February 2, 2011 at 17:22

    Yes, you need to put the shortcode of the group into the page to show the testimonials.

    If you changed it and nothing is showing then you made a mistake somewhere.

  162. # Nicole Kwong said on February 2, 2011 at 17:59

    [testimonial group="1"] already done this in the page.

  163. # Nicole Kwong said on February 2, 2011 at 18:13

    right now, i restore the original file, everything coming back…but didn’t figure out I cannot change the name. But now still be okay since the title didn’t show in the page. Thanks!!

  164. # Anze said on February 2, 2011 at 18:18

    Nicole, cannot change the name of what?

  165. # Nicole Kwong said on February 2, 2011 at 18:26

    I thought the Testimonials, Client Name, Client Company title will show on the website, so I would like to change,but after I reinstall the plugin, the testimonial is showing on my page, and there’ve no title show..so it is everything okay now.

  166. # Will Lanni said on February 2, 2011 at 21:20

    Hello!
    Is there a shortcode or template code I can use to only display a single testimonial, with a ‘read more’ link to excerpt it if needed? I’m setting up a home template page and I don’t want to code in a widget region into the middle of this page, and I do want to show only one testimonial — even randomize it.

    Thanks!

  167. # Anze said on February 2, 2011 at 21:29

    Will, no. You will have to write a function to do that.

  168. # Mark said on February 9, 2011 at 12:38

    ’1′
    );
    the_widget(‘ltw_tes_widget’,$instance);
    ?>

    I put this onto my home page to display a single random testimonial and it seems to be working. From what I understand other options that can be set in the instance array are:

    ltw_title
    ltw_number_of_testimonials
    ltw_show_more_link
    ltw_show_more_text
    ltw_set_word_limit
    ltw_one_group_only
    ltw_show_picture

    I’m fairly new to WordPress so don’t take my word that this works 100%, but it’s doing the job for me at the moment.

  169. # brock kantrow said on February 9, 2011 at 19:51

    Can widget be set up to carousel testimonials
    If not, how to set up random testimonials?

    Pictures on Testimonial Page diff sizes and text runs into pics

    How to set up user input?

    Sorry not so smart…

  170. # brock kantrow said on February 9, 2011 at 22:26

    Any way to get testimonials to transition in widget?

    If not, how to set up to show random?

    Pics show up diff size in page, and text runs through pics

    Thanks

  171. # ovidiu said on February 10, 2011 at 14:20

    any chance that this plugin gets extended to allow visitors to leave their own testimonial?

  172. # Yogesh said on February 11, 2011 at 10:40

    Great plugin!

  173. # lyken said on February 14, 2011 at 05:48

    Hello,

    I was able to use the shortcode function call from the plugin in a template to display the testimonials with a style that I was happy with.

    Method I used is as follows:

    I set up the HTML & CSS in the LTW Design section as you would normally do for use with a shortcode.

    I then had the following in my page template where I wanted the testimonials displayed.

    1);
    echo ltw_tes_shortcode($atts);
    }
    ?>

    I hope this helps someone.

  174. # Tom said on February 14, 2011 at 12:31

    hi i was just wondering how do i use this in a php page template??
    id love more instructions on this genernally for widgets!!

  175. # Anze said on February 14, 2011 at 13:49

    Brock, yes you can set up that up. You will require a Javascript that does that and probably you will have to change the output of the HTML that widget creates for carousel to work.
    Random testimonials in widget work by default. You just need to have more then 1 testimonial selected to be shown in the widget.
    user input? As in users submiting testimonials? No such function exist in current version. Was planned for the next one.
    The size of an image on a page can be controled by CSS to which you have access in the Design page. For the widget itself, you will have to edit the code.

    ovidiu, it was planned for the next version. When the next version, if will be available, I don’t know.
    I’ve explain the reasons for that in this comment: http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-610

    Tom, php page template? Do you mean page template for WP or normal plain non-WP PHP page?
    Instructions yes, I would also like to see them. But no time and no support from users just a lot of requests means no new versions and no documentation at this time. Maybe the docs will be written if I find time in future to continue to develop this plugin.

  176. # Flash Buddy said on February 15, 2011 at 14:35

    I’ve seen a coupe requests for a testimonial submission function for your plugin. I’ve been using the Contact Form 7 plugin to achieve that. I imagin, folks will want all manor of customization. If your add a submission function, it might be a good idea to allow users to turn it off so they can customize their own; just sayin’.

  177. # Flash Buddy said on February 15, 2011 at 14:51

    C’mon, timthumb.php?! I found I can drop timthumb.php right into the ltw-testimonials folder, edit the ltw-testimonials.php file around line 539,

    echo '<p><img src="http://yourdomain.com/wp-content/plugins/ltw-testimonials/timthumb.php?src='.stripslashes($testimonial['client_pic']).'&amp;w=50&amp;h=50&amp;zc=1" alt="'.stripslashes($testimonial['client_name']).'"/>';

    As it stands now if one uploads a large file, the photo on the testimonial page is too big.

    Don’t you agree this would be a very handy addition to your very well thought out plugin?

  178. # Anze said on February 15, 2011 at 20:42

    Flash Buddy, you can edit image in the upload form itself. Also when you upload, WP also creates thumbnail image. No need for something else when you already have that in the WP itself..

  179. # Matt said on February 20, 2011 at 20:02

    I’m trying to write a function so I can show this as a random on my homepage. I’m so close. Mark on 2/9 posted:
    ’1′
    );
    the_widget(‘ltw_tes_widget’,$instance);
    ?>

    Can anyone help expand on this? I would sincerely appreciate it. Just need to show a random on the front page. Internally, it works perfect, but they don’t want to go to another place to make changes.

  180. # Anze said on February 20, 2011 at 20:43

    Try with:

    <?php the_widget('ltw_tes_widget', $instance); ?>
  181. # Matt said on February 20, 2011 at 23:57

    I must be close, but it’s telling me ‘There are no testimonial yet’; Are there attributes I pass in via $instance? A sincere thank you for your help!

  182. # Anze said on February 21, 2011 at 11:49

    Do you have any testimonials selected to be shown in the widget? If not, select them and see if it’s working.

  183. # ihsan said on February 27, 2011 at 12:45

    hey,, im using your Plug In and It help me a lot…
    thank you so much….
    but i have some trouble,,can i make the font less bigger when it show up in the widget sidebar?
    thankss

  184. # James said on February 28, 2011 at 01:24

    Hello Anze,

    Great plugin, it is very smooth.

    * Feature Request *
    A. Could you please add access to widget styling.

    B. Tags around the quote so we can add ” ” around it and style them.
    eg. %testimonial%

    Main reason I request B, is based on A when I styled my sidebar widget, as I was able to add the code in B to the design HTML and have it work on a post/page, so if A is applied then it would make B obsolete ;-)

    Thank you very much,
    =-)

  185. # Michelle Yoo said on February 28, 2011 at 05:51

    This plugin works great except that I can’t seem to get the shortcode to work. I want it to list all the testimonials but when I put the shortcode into the html code on the page, it just shows up as text. http://www.hokschhaus.com/references.

    Also, I thought there was supposed to be a link to “view all testimonials” and i have that box checked in the widget but it doesn’t show up. Can you help?

    Thanks!

    Michelle

  186. # Anze said on February 28, 2011 at 12:05

    ihsan, add “.widget_ltw_testimonials p” class to the style.css of your theme and set the font size to whatever you want it.

    Michelle, I see you already managed to get it working..
    Did you set a text for the “read more” link? If it’s empty, you can’t see it..

  187. # Michelle Yoo said on March 1, 2011 at 00:41

    Strange, I didn’t change anything but it started working. The Read More link now works in the sidebar but not on the main page (www.hokschhaus.com). Any way to make it work?

    Also, what’s up with the photos on the testimonials page? Is there a way to make them a uniform size and to the left of the text, not behind it? I’m guessing I need to do something w/the CSS code but I’m really new to this so step by step instructions would be great!

  188. # James said on March 1, 2011 at 04:22

    Hello Anze,

    The example was lost due to not using a code block to escape it, I have also posted the request on the WordPress.org Forum.
    http://wordpress.org/support/topic/plugin-ltw-testimonials-feature-request-ability-to-style-widget

    Lets see if back ticks will work here
    `”%testimonial%”‘

    Thanks,

  189. # Anze said on March 1, 2011 at 14:41

    Michelle, on the front page, the Read more link text is colored as white. And since you have a white background, it’s invisible. ;)

    Add this CSS to the style.css of your theme:

    .widget_ltw_testimonials a {
        color: #800000;
    }
    .widget_ltw_testimonials a:hover {
        color: #800000;
    }

    And the link should appear.

    James, widget styling is on the list for the next version.

  190. # Michelle Yoo said on March 2, 2011 at 04:42

    Is there a specific spot on the style page that I need to put the code? I inserted towards the top but nothing changed.

  191. # Anze said on March 2, 2011 at 09:30

    Michelle, add it to the bottom of the file because right now, the other class overrides it since you have set it at the top.

  192. # Mordy said on March 3, 2011 at 23:38

    Hey Anze,
    Just a friendly bump for the widget styling. If you look at my site you will see thatI need to push the contents in the widget over 5 or pixels… unless there is a easy way to do that?

  193. # Anze said on March 4, 2011 at 21:38

    Hi Mordy,

    What do you mean by “push the contents in the widget over 5 or pixels”?

  194. # Mordy said on March 4, 2011 at 22:11

    Hi Anze,
    Take a look at this screenshot:
    ttp://goo.gl/lHALm (promise it is a screenshot).
    You can go straight to my site (click my name) and see it yourself.

  195. # Mordy said on March 4, 2011 at 22:12

    There should be a “h” before the ttp….

  196. # Anze said on March 5, 2011 at 10:29

    Do this:

    .widget_ltw_testimonials p {
        padding-left: 10px;
    }
  197. # Mordy said on March 5, 2011 at 21:44

    noob question, but where do I add it? I would assume user.css, but I am not so sure…
    Thanks!

  198. # Anze said on March 5, 2011 at 22:38

    Add it to the bottom of your themes style file which is style.css.

  199. # Mordy said on March 6, 2011 at 05:49

    Thanks Anze! Much better now!

  200. # John said on March 7, 2011 at 23:07

    Hi Anze,
    Just found your wonderful plugin and I’m trying to make it work with my site. After reading through the comments here, I cant’ find an answer to 2 questions:
    1- I want to style the “read more” link on the widget to match the other read more links on the site, using the theme’s existing css tag (/a>). Where specifically would I include this tag for the ltw “read more” link?
    2- Is it possible to change the background color of every other testimonial on the testimonials page so as to offset them from each other? If so, how?

    Thank you!
    John

  201. # Anze said on March 8, 2011 at 12:40

    John,

    To style the CSS of the “read more” link, add this CSS code to your style.css file (bottom of the file). Or you can also add this CSS code to the CSS box under Design page.

    .widget_ltw_testimonials a {
        color: #000;
    }
    .widget_ltw_testimonials a:hover {
        color: #fff;
    }
    

    For the second, you will have to edit some code. Open ltw-testimonials.php
    and find this lines:

    //	Display the testimonials
    		foreach ($ltw_tes_info as $testimonial)
    		{
    			$ltw_testimonial_str .= get_option('ltw_tes_design_html');

    Then add this line above the // Display the testimonials line:

    $testimonial_count = 0;

    And add this lines of code after the $ltw_testimonial_str .= get_option(‘ltw_tes_design_html’);

    if ($testimonial_count == 0)
    			{
    				$ltw_testimonial_str = str_replace('%change_background%', 'first_color', $ltw_testimonial_str);
    				$testimonial_count++;
    			}
    			else
    			{
    				$ltw_testimonial_str = str_replace('%change_background%', 'second_color', $ltw_testimonial_str);
    				$testimonial_count = 0;
    			}

    Now you need to go to Design page and change the first line in HTML box to this:

    <div class="ltw_tes_item %change_background%">

    You see that you need to add %change_background%.

    Then in the CSS box below, add this styles:

    .first_color {
    background-color: #888888;
    }
    .second_color {
    background-color: #444444;
    }
    

    That should do it.

  202. # John said on March 9, 2011 at 08:36

    Hi Anze,
    Thanks for the quick reply. To clarify, I want to style the read more link on the widget with my theme’s code: Read more. Ideas for inserting this code?

    John

    PS thanks for the background coloring suggestion, I’ll give this try.

  203. # John said on March 9, 2011 at 08:39

    Anze,
    The comment box is rendering the code that I’m wanting help with…Here it is with spaces to prevent rendering:

    Read more

    Thanks,
    John

  204. # john said on March 9, 2011 at 08:42

    Sorry about this….

    a class= “more-link” href=”my testimonials”>Read more /a

    Hopefully removing tags will help.

    John

  205. # Anze said on March 9, 2011 at 13:04

    John, you want to style the “Read more” link that is created by this plugin in the widget to match your themes links? If so, read the first lines of my last reply. You tried that yet? You just need to replace the colors and other stuff that you theme has for A tags in CSS.

  206. # John said on March 9, 2011 at 17:23

    Hi Anze,
    I understood your first response to my question. In this case, a picture is worth a thousand words, because on my site (which is in maintenance mode, unfortunately), the widget links are styled with backgrounds, colors, etc. all of which is being defined by a class “more-link” in the theme’s css. My question is about integrating this existing class within the css of the ltw widget, rather than simply styling the ltw “read more” link with a different text and hover color.

    In any case, thanks for your time. I hope this helps,
    John

  207. # Anze said on March 9, 2011 at 19:57

    Oh, just add your class to the href tag.

    Open ltw-testimonials.php file, find this line (line 577):

    echo '<p><a href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';

    And then simply add your class to it, like:

    echo '<p><a class="more-link" href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';

    That should do it.

  208. # John said on March 10, 2011 at 01:52

    Link button worked, perfectly! thanks, Anze

  209. # Ancrew Rigg said on March 10, 2011 at 03:27

    Hi

    I’m rebuilding a site for a client and am having difficulty with one minor aspect of the plugin. A few of the testimonials have more than paragraph but the testimonial styling is only picked up on the first paragraph in that it is given the class ltw_tes_testimonal. All other paragraphs are styled as per standard paragraphs.

    Site URL is http://test.howtostaymarriedandhappy.com/testimonials
    Wordpress version: 3.04
    php version: 5.2.15
    Mysql version: 5.1.52
    Template: Striking Premium v2.2.3

    Please advise.

    Cheers!
    Andrew

  210. # Anze said on March 10, 2011 at 18:56

    Andrew, it’s because you have P tag inside a P tag. By default, which you can see on the Design page, the testimonial is inserted into P tag. So if you add them manually when adding new testimonial, this will happen.

    Go to Design page and change P tag to DIV tag.

    Change:

    <p class="ltw_tes_testimonial">%testimonial%</p>

    To:

    <div class="ltw_tes_testimonial">%testimonial%</div>

    Now it should style the paragraphs correctly.

  211. # John said on March 10, 2011 at 22:02

    Hey Anze,
    Still trying to configure the background color of each alternating testimonial based on your instructions. I’ve edited the ltw-testimonials.php file to look like this:

    $testimonial_count = 0;

    // Display the testimonials
    foreach ($ltw_tes_info as $testimonial)
    {
    $ltw_testimonial_str .= get_option(‘ltw_tes_design_html’);
    if ($testimonial_count == 0)
    {
    $ltw_testimonial_str = str_replace(‘%change_background%’, ‘first_color’, $ltw_testimonial_str);
    $testimonial_count++;
    }
    else
    {
    $ltw_testimonial_str = str_replace(‘%change_background%’, ‘second_color’, $ltw_testimonial_str);
    $testimonial_count = 0;
    }

    I’ve change the html (in the design window) to look like this:

    %testimonial%
    %client_name%
    %client_company%

    And the CSS to look like this:

    .ltw_tes_item {
    margin: 0 0 24px 0;
    overflow: hidden;
    width: 100%;
    }
    .ltw_tes_image_cont {
    float: left;
    height: 88px;
    margin: 4px 20px 0 5px;
    width: 88px;
    }
    .ltw_tes_image_cont img {
    border: 2px solid #CCCCCC;
    }
    .ltw_tes_content_cont {
    float: left;
    width: 400px;
    }
    .ltw_tes_content_cont p {
    margin-bottom: 0;
    }
    .ltw_tes_testimonial {
    color: #555555;
    font-size: 12px;
    line-height: 21px;
    margin: 0 0 12px;
    }
    .ltw_tes_client_name {
    font-weight: bold;
    margin-top: 10px;
    }
    .ltw_tes_client_company {
    margin: 0;
    color: #00AEEF;
    font-size: 12px;
    }
    .ltw_tes_client_company a {
    color: #00AEEF;
    font-size: 12px;
    text-decoration: none;
    }
    .ltw_tes_client_company a:hover {
    color: #555555;
    }

    .first_color {
    background-color: #888888;
    }

    .second_color {
    background-color: #444444;
    }

    With these changes, there is no alternating background. Any thoughts?

    Thanks,
    John

  212. # John said on March 10, 2011 at 22:05

    My apologies, again….
    your comments box is rendering some html code. The html code in the design window is exactly as you instructed.

    John

  213. # Andrew Rigg said on March 11, 2011 at 02:25

    Thank you Anze. Sometimes we miss the simplest things…

    Cheers!
    Andrew

  214. # Anze said on March 11, 2011 at 13:53

    John, when posting code use this tags (remove spaces before [):
    [ html]insert HTML code here[ /html]
    [ css]insert CSS code here[ /css]

    Did you change this code on the Design page so that it looks like this:

    <div class="ltw_tes_item %change_background%">

    Note the %change_background% in the line. Without it it won’t work.

  215. # John said on March 11, 2011 at 17:48

    Hi Anze,
    Here’s the code in the design page:

    <div class="ltw_tes_item %change_background%">
             <div class="ltw_tes_content_cont">
                    <p class="ltw_tes_testimonial">%testimonial%</p>
    		<p class="ltw_tes_client_name">%client_name%</p>
    		<p class="ltw_tes_client_company">%client_company%</p>
    	</div>
    </div>

    Thank you,
    John

  216. # Wagner said on March 12, 2011 at 23:29

    How can I view the testimonials on a page?

  217. # Anze said on March 14, 2011 at 16:05

    John, I repeated the steps I’ve posted above and it works just fine.

    Can you check that the name of the function where you added PHP code is called “ltw_tes_shortcode”. As there is the same code in the other function that is used to show all the testimonials on a page.
    The line where you need to add PHP code starts at line 372.

    Or send me the ltw-testimonials.php file to my email.

    Wagner, you need to use a shortcode of the group. You can see the shortcode on the Groups page.

  218. # John said on March 14, 2011 at 20:12

    Anze, Thank you!

    I had placed the php code in line 722…not 372. All is good.
    Donation on the way.
    John

  219. # Dean said on March 14, 2011 at 21:56

    Hi,

    I am trying to get the testimonials to appear in a random order on the page however I note that:

    else if (get_option(‘ltw_tes_sort_testimonials’) == ’4′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY rand() ‘;
    }

    As suggested earlier does results in the list being shown in ascending order and not random order.

    Is there any documented way of achieving a random order?

  220. # Anze said on March 15, 2011 at 14:57

    Dean, it works just fine if you do what it was said above.

    Open “pages/testimonial_settings.php” file and add this extra line in the dropdown:

    <option value="4"<?php echo get_option('ltw_tes_sort_testimonials') == '4' ? ' selected="selected"' : ''; ?>><?php _e('User defined', LTW_TES_UNIQUE_NAME); ?></option>

    Then open “ltw-testimonials.php” file and find (at line 335):

    if (get_option('ltw_tes_sort_testimonials') == '1')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `id` DESC ';
    	}
    	else if (get_option('ltw_tes_sort_testimonials') == '2')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `id` ASC ';
    	}
    	else if (get_option('ltw_tes_sort_testimonials') == '3')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `order` DESC ';
    	}

    At the end add the code you posted so that it looks like:

    if (get_option('ltw_tes_sort_testimonials') == '1')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `id` DESC ';
    	}
    	else if (get_option('ltw_tes_sort_testimonials') == '2')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `id` ASC ';
    	}
    	else if (get_option('ltw_tes_sort_testimonials') == '3')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `order` DESC ';
    	}
            else if (get_option('ltw_tes_sort_testimonials') == '4')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY rand() ';
    	}

    It should work just fine.

  221. # Arlo Mason said on March 18, 2011 at 16:09

    Is there any way to limit the character count using the shortcode?

  222. # Anze said on March 21, 2011 at 13:58

    Arlo, no, you will need to modify that in the code itself.

  223. # Harmony Coburn said on March 22, 2011 at 06:31

    Thanks for the nice testimonials plugin! I donated because you’ve earned it!

    One question – is there a way we can make the image “optional” (when the admin is adding a testimonial, if they don’t have an image they can have no image show instead of a myster man)?

  224. # Anze said on March 22, 2011 at 13:40

    Hi Harmony,

    Thank you for the donation.

    You want to show some other picture if there is no picture available. Just replace the blank.png image in the images folder with your own.

  225. # Mauricio said on March 25, 2011 at 08:04

    Hi Anze,

    Congrats for the excellent plugin! I’m facing the same problem that Matt had to show a single testimonial on a page. I followed your instructions and all my testimonials are checked to be displayed in a widget. But I keep having the same result:
    “There are no testimonial yet” Can you help me.
    Thank you

  226. # Anze said on March 25, 2011 at 17:05

    Mauricio, on a page or front page? Give more details and post the code you used please.

  227. # Mauricio said on March 25, 2011 at 17:25

    Hi Anze,

    On a page. I used the code you mentioned above:

    And I’m also using the random option ass you described:

    Open “pages/testimonial_settings.php” file and add this extra line in the dropdown:

    <option value="4">

    Then open “ltw-testimonials.php” file and find (at line 335):

    if (get_option(‘ltw_tes_sort_testimonials’) == ’1′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY `id` DESC ‘;
    }
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’2′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY `id` ASC ‘;
    }
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’3′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY `order` DESC ‘;
    }

    At the end add the code you posted so that it looks like:
    ?
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16

    if (get_option(‘ltw_tes_sort_testimonials’) == ’1′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY `id` DESC ‘;
    }
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’2′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY `id` ASC ‘;
    }
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’3′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY `order` DESC ‘;
    }
    else if (get_option(‘ltw_tes_sort_testimonials’) == ’4′)
    {
    $ltw_testimonials_order_sql = ‘ ORDER BY rand() ‘;
    }

    Tks

  228. # Mauricio said on March 25, 2011 at 17:27

    Sorry. I didn’t mentioned the code for a page:
    ////

  229. # Mauricio said on March 25, 2011 at 17:32

    The PHP code is not appearing. I’ll try again:

  230. # Mauricio said on March 25, 2011 at 17:34

    Here is the code i’m using for a single page:

    //open tag PHP// the_widget(‘ltw_tes_widget’, $instance); //close tag PHP//

  231. # Zach said on March 25, 2011 at 20:17

    Hi, is it possible to have the “client_company” URLs open in a new window or tab? Basically want to add the [target="new"] to the [a hrefs]…

  232. # Anze said on March 28, 2011 at 10:58

    Zach, yes, open ltw-testimonials.php file and on line 397, add target=”_blank” to the URL:

    $ltw_testimonial_str = str_replace('%client_company%', '<a target="_blank" class="cite-link" href="'.$testimonial['client_website'].'">'.stripslashes($testimonial['client_company']).'</a>', $ltw_testimonial_str);

    Do the same on other lines where the client URL is used. Lines: 401, 552, 556, 733, 737

  233. # Anze said on March 28, 2011 at 13:02

    Mauricio, try with this:

    //    Settings for the widget
    $instance['ltw_title'] = 'LTW Testimonials'; // Shows title of the widget
    $instance['ltw_number_of_testimonials'] = 1; // Number of testimonials to show
    $instance['ltw_show_more_link'] = 1; // Set to 1 to show the "Show more" link, else set to 0 to hide it
    $instance['ltw_show_more_text'] = 'Show More'; // The "Show More" text
    $instance['ltw_set_word_limit'] = 3; // Set word limit. Set to 0 for no limit.
    $instance['ltw_one_group_only'] = 1; // Set group ID if you wish to display testimonials from one group only. Set to 0 to use all groups.
    $instance['ltw_show_picture'] = 1; // Set to 1 to show client picture, set to 0 if you don't want to show it.
    
    the_widget('ltw_tes_widget', $instance);
    
  234. # Mauricio said on March 28, 2011 at 21:07

    Thanks Anze,

    I tested here and worked well. Now I have to set the css and see if everything will be ok.

    Regards

  235. # Zach said on March 29, 2011 at 01:11

    Great! Works perfectly…thanks! :)

  236. # Pen said on March 29, 2011 at 18:01

    Thanks for a great plugin! Please could you let me know how to set up hyphenation in the widget so text layout looks better

  237. # Ben said on March 30, 2011 at 11:49

    Hello,

    I am using your plugin and I am very happy with it BUT if it possible for you to tell me what file to edit if i wanted to edit the widget?

    Thank You
    Ben

  238. # Anze said on March 31, 2011 at 10:47

    Pen, you can use Javascript or CSS for that. Depends on what you want. Google for hyphenation and javascript or use CSS3 styles about which you can read more here: http://www.w3.org/TR/2011/WD-css3-text-20110215/#hyphenation
    CSS way is much easier.
    Don’t know any Javascript that does that so you’ll have to find it yourself.

    Ben, edit ltw-testimonials.php file. That’s the main file. Look for: class ltw_tes_widget
    Class contains the functions of the widget.

  239. # Michelle Yoo said on April 4, 2011 at 21:08

    I love this plugin but I’m having a problem with the pictures on the testimonials page. The pictures are very dark and take up the entire testimonial space. I was hoping to have them as a thumbnail on the left hand side. Can I do this? How?

    Thanks!

    http://www.hokschhaus.com/references

  240. # Anze said on April 5, 2011 at 15:06

    Michelle,

    When you upload images in WP, you can use thumbnails when inserting them into content. So, when you upload client image, select one of the thumbnail sizes available instead of the original size.
    This thumbnail sizes are available just above the “Insert into Post” button in the image manager popup.

    Or, change the CSS in the Design page.
    Add width and height to the “.ltw_tes_image_cont img” class.

    For example:

    .ltw_tes_image_cont img {
    border: 2px solid #CCC;
    height: 90px;
    width: 90px;
    }
  241. # Michelle Yoo said on April 11, 2011 at 00:30

    Anze – I tried editing the plugin as you suggested but I don’t think I’m doing it right. I edited the /testimonial_index page but that didn’t change anything. I looked at the /testimonial_design page but I couldn’t figure out where I would edit the code there. Sorry… more explicit instructions please?

    http://www.hokschhaus.com/references

  242. # Anze said on April 11, 2011 at 11:22

    Michelle, open the Testimonial menu on the left side in WP. Click on the Design submenu. On the Design page you have two boxes. Top is for HTML and bottom box is for CSS. In the bottom CSS box, find “.ltw_tes_image_cont img” and add width and height to it (look above for proper set up). Then hit the update button and that should do it.

  243. # Colman Carpenter said on April 13, 2011 at 08:13

    Hi,

    Love your plugin, have used it for a few customer sites and, in general, it works great!

    However, on one particular site (using Thesis, if that’s the critical factor?) the widget’s ‘Read more’ link doesn’t link to the testimonials page, but rather to an anchor link on the *current* page!

    Any ideas?

    Thanks in advance.

  244. # Anze said on April 14, 2011 at 10:51

    Colman, should work the same. Check if there is a page selected for the testimonial group (Groups page).

  245. # Jay Thompson said on April 23, 2011 at 18:59

    Great plugin!

    Is there a way to display testimonials randomly? I see options to sort by newest, oldest, and “user defined”. But I see no way to define anything…

  246. # Anze said on April 24, 2011 at 13:28

    Jay, yes, examples were made already on how to modify the code to show random order.

    http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-911

  247. # Maurice said on April 27, 2011 at 14:28

    Hi. I am new to WordPress and am struggling to show the widget on the home page. Is there any code I have to enter and where? I have tried but to no avail. Your help would be appreciated.

    Thanks for a great plugin. I tried lots of other, but this is the only decent one, thanks again.
    Maurice

  248. # Deirdre said on April 27, 2011 at 22:27

    I am having an issue with the SHOW MORE link from the widget… it does not find the correct page ID (permalink) of the Testimonials page. I tested in Firefox & IE on several different versions… none of them bring me to the Testimonials page.

    Workaround or solution anyone?

  249. # Deirdre said on April 27, 2011 at 22:32

    Ok… upon further investigation, maybe I am misunderstanding the feature of SHOW MORE. I thought it was supposed to go to the Testimonials Page, but maybe the feature just shows me another Testimonial in the widget window?

    Yes? Not sure… can someone explain the purpose of the Show More Link?

  250. # Anze said on April 28, 2011 at 11:46

    Maurice, you need to have a template that supports widgets on the front page. If you do have it, then just add the widget to the correct widget container (the one for the front page).
    If you do not have it, you can add it manually by adding the code to the widget. The code can be seen here: http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-999

    Deirdre, the “show more” link in the widget links to the page of the current testimonial group. On that page, all testimonials from that group are shown. You can select which page it’s going to be under “Groups” when you add new/edit group.

  251. # Mordy said on April 28, 2011 at 19:49

    Hi Anze,
    I have another question for you.
    Is there any form of pagination planned?

  252. # Anze said on April 29, 2011 at 14:42

    Mordy, it’s planned for version 2.

  253. # Davo Hugo said on April 29, 2011 at 20:48

    Excellent plugin!!

    Is it possible to have the testimonials show up in coloumns, and when it has filled the page, have page numbers appear in the bottom right for instance? like this:

    http://www.laughandhug.com/wc/cols.jpg

  254. # Anze said on May 1, 2011 at 14:40

    Davo, one reply above your comment it says that pagination is planned for version 2.

    As for the columns, not without any code changes.

  255. # Gaurav said on May 6, 2011 at 09:25

    When is v2 scheduled? I’ve been hearing about it since long…

  256. # Anze said on May 8, 2011 at 13:41
  257. # Deirdre said on May 9, 2011 at 15:54

    Thanks for the help with the READ MORE link… Very helpful!

    I am still having another issue with the Thumbnail Images. They will NOT resize. I have not changed anything about the CSS or HTML code, so my understanding is that I should NOT have to upload an image that is already 88×88… the code will resize it for me, correct?

    This is not happening. It uses the image dimensions that are associated with the uploaded image and is throwing the page & widget all out of whack!

    Thanks in advance!

  258. # Deirdre said on May 9, 2011 at 16:09

    You know what… never mind I answered my own question. I was reading some of the other posts here (novel concept I know!) and found the answer.

    The CSS needs to be changed to the thumbnail size you have set in WP… then INSERT the Thumbnail optional size from the Upload Media area.

    Sometimes… the light above my head comes on very slowly!

    I LOVE THIS PLUGIN!

  259. # Mark said on May 13, 2011 at 05:36

    Can I make a tiny request? please change the shortcode used from [testimonial group="1"] to [ltwtestimonial group="1"]

    The word testimonial is too common for many wp templates and I was getting conflicts because that word was already used for another shortcode.

    FWIW, I simply ammended line 417 in ltw-testimonials.php from

    add_shortcode(‘testimonial’, ‘ltw_tes_shortcode’);

    to

    add_shortcode(‘ltwtestimonial’, ‘ltw_tes_shortcode’);

    this seems to have fixed my problem.

  260. # Mark said on May 13, 2011 at 05:46

    Related to my prevvious post, where do you change the code that displays in the “Testimonial Groups” admin section, what shortcode to use in your page. e.g [testimonial group="1"] I need to update it to say [ltwtestimonial group="1"]

  261. # Anze said on May 13, 2011 at 10:45

    Mark, “pages/testimonial_groups_index.php” is where you can change that.

  262. # Keith said on May 16, 2011 at 19:08

    Is it possible to pull the testimonials via an RSS feed so I can embed them onto an ASP page?

  263. # Anze said on May 16, 2011 at 19:35

    Keith, without any changes no. You’ll have to write (you can copy most of the stuff from current functions) function that outputs in RSS format.

  264. # Jochemlub said on May 17, 2011 at 22:59

    Little question: i have installed the plugin, it looks great!

    Just one comment: the widget shows al comments in the widget enen using Safari on Mac / iPad !!!

    Do you have a solution?

  265. # Anze said on May 18, 2011 at 08:00

    Jochemlub, what do you mean that all testimonials are shown in the widget? All at once? More details please.

  266. # Susan T. Blake said on May 19, 2011 at 01:56

    Hi, I pasted this code you gave above into the design area, but the widget still doesn’t have the box.

    .widget_ltw_testimonials .widget_content {
    border: 3px dashed #fff;
    }

    I am running the Thesis theme.

    Thanks,

    Susan

  267. # Anze said on May 19, 2011 at 10:05

    Hi Susan, you need to add the style code to the bottom of the custom.css file that you find in the “custom” folder. If there is no file called “custom.css”, create it and paste that code into it.

  268. # Trisha Cupra said on May 20, 2011 at 07:02

    Is there any possibility of adding a shortcode to display a single testimonial by ID? If not a shortcode, what is the PHP I could use?

    Thanks very much for the best Testimonials plugin available.

  269. # Anze said on May 20, 2011 at 11:59

    Trisha, it is not part of the current plugin. But you can easily do it with something like the code below.

    Code is not tested so bugs might be there..

    Paste the code below to the end of the ltw-testimonials.php file. Then you can display single testimonials by adding this shortcode to the page/post: [single_testimonial id="1"]

    The ID of the testimonial can be found by hovering the mouse over the “edit” link of each testimonial (you can see the ID in the status bar of the browser) or by clicking on the “edit” link and then you can see the ID in the URL bar of the browser.

    function single_testimonial($attr)
    {
    	global $wpdb;
    
    	if (isset($attr['id']))
    	{
    		$sql = $wpdb->prepare("
    			SELECT *
    			FROM ".LTW_TES_TESTIMONIALS_TABLE."
    			WHERE `id` = %d",
    			array($attr['id'])
    		);
    		$ltw_tes_info = array();
    		$ltw_tes_info = $wpdb->get_row($sql, ARRAY_A);
    
    		if (count($ltw_tes_info) == 0 || isset($ltw_tes_info['id']) == FALSE || $ltw_tes_info['id'] != $attr['id'])
    		{
    			return FALSE;
    		}
    		else
    		{
    			$ltw_testimonial_str = '';
    
    			//	Add CSS style
    			$ltw_testimonial_str = '<style type="text/css">'.get_option('ltw_tes_design_css').'</style>';
    
    			$testimonial = $ltw_tes_info;
    
    			$ltw_testimonial_str .= get_option('ltw_tes_design_html');
    
    			if ($testimonial['client_pic'] == '')
    			{
    				$ltw_testimonial_str = str_replace('%image%', get_bloginfo('url').'/wp-content/plugins/'.LTW_TES_FOLDER_NAME.'/images/blank.png', $ltw_testimonial_str);
    			}
    			else
    			{
    				$ltw_testimonial_str = str_replace('%image%', $testimonial['client_pic'], $ltw_testimonial_str);
    			}
    
    			$ltw_testimonial_str = str_replace('%testimonial%', '<a name="ltw_testimonial_'.$testimonial['id'].'"></a>%testimonial%', $ltw_testimonial_str);
    			$ltw_testimonial_str = str_replace('%testimonial%', stripslashes(nl2br($testimonial['testimonial'])), $ltw_testimonial_str);
    			$ltw_testimonial_str = str_replace('%client_name%', stripslashes($testimonial['client_name']), $ltw_testimonial_str);
    
    			if (strlen($testimonial['client_company']) > 0 && strlen($testimonial['client_website']) == 0)
    		    {
    				$ltw_testimonial_str = str_replace('%client_company%', stripslashes($testimonial['client_company']), $ltw_testimonial_str);
    		    }
    		    else if (strlen($testimonial['client_company']) > 0 && strlen($testimonial['client_website']) > 0)
    		    {
    		    	$ltw_testimonial_str = str_replace('%client_company%', '<a class="cite-link" href="'.$testimonial['client_website'].'">'.stripslashes($testimonial['client_company']).'</a>', $ltw_testimonial_str);
    		    }
    		    else if (strlen($testimonial['client_company']) == 0 && strlen($testimonial['client_website']) > 0)
    		    {
    		    	$ltw_testimonial_str = str_replace('%client_company%', '<a class="cite-link" href="'.$testimonial['client_website'].'">'.$testimonial['client_website'].'</a>', $ltw_testimonial_str);
    		    }
    			else
    			{
    				$ltw_testimonial_str = str_replace('%client_company%', '', $ltw_testimonial_str);
    			}
    
    			if (get_option('ltw_tes_promote_plugin') == '1')
    			{
    				$ltw_testimonial_str .= '<div style="text-align: center;"><a href="http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials">Powered by LTW Testimonials</a></div>';
    			}
    
    			return $ltw_testimonial_str;
    		}
    	}
    }
    add_shortcode('single_testimonial', 'single_testimonial');
    
  270. # Susan T. Blake said on May 20, 2011 at 16:10

    Hi Anze,

    I have pasted the widget border code in the custom/custom.css file as well and it did not change.

    Susan

  271. # Anze said on May 21, 2011 at 08:56

    Susan, remove the “.widget_content” from the first line and it should work. I missed that you have that there.

    So it should look like this:

    .widget_ltw_testimonials {
    border: 3px dashed #000;
    }
    
  272. # Aldrin said on May 23, 2011 at 00:21

    “the “show more” link in the widget links to the page of the current testimonial group. On that page, all testimonials from that group are shown. You can select which page it’s going to be under “Groups” when you add new/edit group.”"”

    Hi, honestly it’s not working it still not go to to that group or tedtimonial page. it just load to current page. please help.

  273. # Rachel said on May 23, 2011 at 19:58

    Hi,

    I love your plugin and use it on many clients sites. Today I received an error in the backend:

    Fatal error: Cannot redeclare class pagination in /home/content/m/p/a/mpactjacq/html/wp-content/plugins/ltw-testimonials/pagination.class.php on line 2

    Do you know how I can fix this? It is still showing the testimonials on the website and I can add a new testimonial. I just cannot view the existing testimonials. Thanks!!!

  274. # Anze said on May 24, 2011 at 09:59

    Rachel, you have a plugin or maybe even the theme itself that calls the “pagination” class before this plugin does. You need to change the name of the class “pagination” in the pagination.class.php file to something else, like “ltw_pagination”. Also you’ll need to change the name (look for this “$p = new pagination;”) to the same name as you before (“ltw_pagination”) in the “pages/testimonial_index.php” file.

  275. # Trisha Cupra said on May 25, 2011 at 08:04

    Wow, thanks! I will test drive the code and see if it works. :)

  276. # Fazla Idha said on May 26, 2011 at 09:54

    Hi Anze,

    Above all the WP Testimonial Plugin, this is the one that I find
    update and to this date you still assist in the support. For this
    I choose this plugin instead :).

    I have browse and read all the above question and still can’t find any
    regard to the PHP code be insert into the page template.

    This is the close one I found :-
    http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-710

    I have try it (and thick the widget option inside the admin area) but still there is no output. It simply state “There are no testimonial yet”

    This is my website i’m working on
    http://www.onepiecebakery.com

    I would like to make the testimonial appear just like my ‘recent post’ plugin work (picture with text).

    Thank you in advance Anze :)

  277. # Anze said on May 26, 2011 at 17:35

    Fazla, read this post http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-999

    You need to set some attributes if you want to call the widget directly in the themes code.

  278. # rob said on May 27, 2011 at 11:03

    Great plugin,
    Suggestion, when no picture is present, show nothing instead of dummy photo

  279. # rob said on May 27, 2011 at 11:13

    Another great feature would be 2 different styles for page/post testimonials and widget testimonials.

    Other suggestions
    - the use of a gravatar.
    - display only a specific testimonial
    - scrolling testimonials in widget

    But even without these features it is an EXCELLENT pplugin

  280. # Karissa said on May 30, 2011 at 14:38

    Great plugin! I love the group feature and is perfect for what I needed for a new client project am now going to change it on my own site.

    So I can’t get the group short codes to work on my Genesis Agent Press theme.

    On http://moneymapmasters.com/testimonials/ bottom part after each of the 3 names and at the very bottom of http://moneymapmasters.com/masters/alycia-edgar/ they don’t show up.

    I’m using [testimonial group="1"].

    What’s wrong or what am I missing?

  281. # Anze said on May 30, 2011 at 16:59

    You can set one group for only one page. Using the same group on multiple pages doesn’t work. You can modify the plugin so that any group can work on multiple pages or create another group.

  282. # darylmonte said on May 31, 2011 at 17:15

    Thank you for this very nice plugin. It really helps a lot in the sites I build. I’m still learning php so I just want to ask what is the code to call the widget? I’m planning to put it inside a page and wanted the functionality to display just one testimonial at a time but make it random as well. Hope you could help me with this. Thank you.

  283. # benjie said on June 1, 2011 at 09:18

    I need help.

    I’m using the shortcode [testimonial group="1"] on my page.

    how can I limit the number of testimonials that will show to my page using the shortcode?

  284. # Anze said on June 1, 2011 at 09:42

    benjie, you can set another attribute for the shortcode so that you can change the limit on the fly.

    Find this function: function ltw_tes_shortcode($atts)

    Then scroll down a few lines and find this:

    else if (get_option('ltw_tes_sort_testimonials') == '3')
    	{
    		$ltw_testimonials_order_sql = ' ORDER BY `order` DESC ';
    	}
    

    After the above code, add this:

    //	Check if limit is set
    	$ltw_tes_limit = isset($atts['limit']) ? $atts['limit'] : '';
    
    	$sql_limit_addon = $ltw_tes_limit == '' ? '' : ' LIMIT '.$atts['limit'].' ';

    Then a few lines below, change this line:

    ".$ltw_testimonials_order_sql,

    To this:

    ".$ltw_testimonials_order_sql.$sql_limit_addon,

    That should do it pretty much.

  285. # benjie said on June 1, 2011 at 09:45

    I’ll try..thanks for the quick response!:))

  286. # benjie said on June 1, 2011 at 09:57

    using this code what shortcode should I use?

    still [testimonial group="1"]??

    I’ve already change the code but there’s nothing happened.

    I’ve got the same output as before..

  287. # Anze said on June 1, 2011 at 12:30

    Oh hehe, forgot to tell you how to use it. :)

    [testimonial group="1" limit="10"]

  288. # benjie said on June 2, 2011 at 04:37

    it’s actually working!:)

    thankyou so much!!

    I have another problem, how can I have a paganation on my page so that after 10 testimonials it will automatically paganate!

    is it possible?:))

  289. # Rachel said on June 3, 2011 at 01:09

    AWESOME!!! That worked like a charm :) Thank you so much!!

  290. # benjie said on June 3, 2011 at 08:51

    how can I get get the id number of the testimonial?thanks!:))

  291. # benjie said on June 3, 2011 at 08:52

    how can I get post the id number of the testimonial?thanks!:))

  292. # Anze said on June 3, 2011 at 10:34

    benjie, yes it’s possible to add pagination. Pagination class is already used in this plugin so you just have to call it in the function “ltw_tes_shortcode”.

    To get the ID of the testimonial, use $testimonial['id'] inside the foreach loop in the function “tw_tes_shortcode”.

  293. # Anze said on June 3, 2011 at 10:37

    darylmonte, sorry, your comment got caught in the spam filter.. :)
    To call the widget directly, read this: http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-999

  294. # Prax said on June 5, 2011 at 21:44

    I just installed the plugin and for the most part it works great.
    My problem is in trying to style it, it does not seem to take the changes I put into the CSS on the design page. I hit update and while the code stays the change in design does not take place on the page, I have tried it on my local and live site. Is there something I am missing or not getting. Please help.

    I am using the latest version of WP as well as the latest version of your plugin.

    Thanks.

  295. # benjie said on June 6, 2011 at 03:36

    benjie, yes it’s possible to add pagination. Pagination class is already used in this plugin so you just have to call it in the function “ltw_tes_shortcode”.

    <<<<

    how can I call it?sorry I'm new in wp and it's hard for me to manipulate your codes..hehe..

  296. # Prax said on June 6, 2011 at 08:34

    I figured it out, but now I would like to change the title from italic to regular, what is the CSS class for that called?

    Thanks again.

  297. # Anze said on June 6, 2011 at 09:07

    benji, you can see the example of pagination if you open “testimonial_index.php” file and find “$p = new pagination;” line.

    Prax, title? There is no title in the testimonial plugin.

  298. # benjie said on June 6, 2011 at 10:31

    ahmm..I will add those codes to my “ltw-testimonials.php”?

  299. # Anze said on June 6, 2011 at 11:42

    benji, read http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-1255

    But just copy/paste won’t work, you’ll need to modify SQL query also..

    A full example on how to use pagination is in like i’ve said above in the “testimonial_index.php” file.

  300. # benjie said on June 7, 2011 at 04:05

    thank you..:)

  301. # Maurice said on June 10, 2011 at 23:07

    Hi. Thanks for the best testimonial plugin ever. My website uses a black background, so the grey text from the testimonial is hard to read. How do I change the colour to white. I have tried to change the colours to FFFFFF but this didnt make a difference.
    Thanks
    Maurice

  302. # Mordy said on June 11, 2011 at 01:40

    For those (like me) who got stuck trying to make the order random after following the instructions above, keep in mind that if using shortcode to display the page, you can’t use the show all, you must use a group.

    As soon as I switched the shortcode it worked perfectly….

  303. # balaji said on June 13, 2011 at 13:04

    hello
    thank for the great plug-in.

    i have used this plug-in in my. i have added side bar widget i need read more link for every one testimonials. my design structure is some think different.

    my design structure is like this
    1st
    client name
    image
    testimonials about 50 words
    read more link
    2nd
    client name
    image
    testimonials about 50 words
    read more link
    3rd
    client name
    image
    testimonials about 50 words
    read more link

    Thanks

  304. # Anze said on June 15, 2011 at 11:18

    Maurice, sorry for late reply.
    Did you change the font color for the .ltw_tes_testimonial class on the Design page?

    balaji, I’m guessing that you need that for the widget?
    Open ltw-testimonials.php file and find this:

    if ($instance['ltw_show_more_link'] == '1')
    		    	{
    		    		$ltw_tes_page_data = get_page($testimonial['page_id']);
    
    		    		if (get_option('permalink_structure') == '')
    		    		{
    		    			$ltw_tes_full_testimonials_url = get_bloginfo('url').'/?p='.$ltw_tes_page_data->ID;
    		    		}
    		    		else
    		    		{
    		    			$ltw_tes_full_testimonials_url = get_bloginfo('url').'/'.$ltw_tes_page_data->post_name;
    		    		}
    
    		    		echo '<p><a href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';
    		    	}
    

    Move the above code just below this line (3 lines above):

    echo '</cite></p>';

    Make sure that you add the code after the above echo code and before the closing }.

    Then modify the moved code so that it looks like this:

    if ($instance['ltw_show_more_link'] == '1')
    			    	{
    			    		$ltw_tes_page_data = get_page($testimonial['page_id']);
    
    			    		if (get_option('permalink_structure') == '')
    			    		{
    			    			$ltw_tes_full_testimonials_url = get_bloginfo('url').'/?p='.$ltw_tes_page_data->ID.'#ltw_testimonial_'.$testimonial['id'];
    			    		}
    			    		else
    			    		{
    			    			$ltw_tes_full_testimonials_url = get_bloginfo('url').'/'.$ltw_tes_page_data->post_name.'#ltw_testimonial_'.$testimonial['id'];
    			    		}
    
    			    		echo '<p><a href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';
    			    	}

    I’ve added .’#ltw_testimonial_’.$testimonial['id'] to the end of each URL.

  305. # Christopher Sutton said on June 18, 2011 at 13:38

    Hi,

    Thanks for the great widget!

    Just a small note on a possible bug: it seems like the “more text” functionality doesn’t work well with child pages. (version 1.3.0)

    For example, if my testimonials for a group are on http://site.com/ParentPage/ChildPage and I set this page for the group’s index page in the testimonial group settings, the links generated for the ‘more text’ go to http://site.com/ChildPage (which then 404s).

    Thanks again,

    Christopher

  306. # Rob said on June 21, 2011 at 15:47

    I’ve set everything up and the widget works and i used the shortcode of [testimonial group="1" limit="10"] on the testimonials page but nothing appears on the page. Right now it’s at the bottom of the page under my current testimonials just an empty box. Do you have any ideas?
    Thanks
    Rob

  307. # PHIL said on June 23, 2011 at 03:57

    I’m trying to add a blank line between the testimonial and the name on the widget. It appears no matter what I do to the HTML code it does nothing. I’m stumped.

  308. # PHIL said on June 23, 2011 at 16:47

    It appears that modifying the CSS or HTML in the Design setting has no impact on the actual design. I’m using Genesis and the Delicious Child theme in WP version 3.1.3

  309. # Anze said on June 24, 2011 at 15:08

    Rob, do you have any testimonials in group 1? If you do, then you should recheck the modifications that you did.

    Phil, HTML and CSS design works only if you show the testimonials on a page. If you want to change the widget HTML/CSS, you need to edit ltw-testimonials.php file directly.

  310. # Jo Marshall said on June 24, 2011 at 19:25

    This is a great plug-in! Very customizable, and easy to use. Plus, your support log here has been very helpful. I just sent a donation, and plan to use it again in the future. Thanks!

  311. # PHIL said on June 28, 2011 at 18:28

    Thanks for great response time. Where in the ltw-testimonials.php would I need to change or add HTML/CSS code?

  312. # Anze said on June 29, 2011 at 13:07

    Phil, it starts at line 542. That’s where the widget HTML code is outputted.

  313. # jeroen said on June 30, 2011 at 13:24

    Like your plugin. Just wondering, can I give users with an ‘author’ role access to the plugin at the admin side? Seems only editors can by default. Thank you.

  314. # Anze said on June 30, 2011 at 15:30

    Jeroen, open ltw-testimonials.php file and go to line 151.

    There change the ‘administrator’ to ‘edit_published_posts’ in 5 lines below.

        add_menu_page(LTW_TES_NAME, LTW_TES_NAME, 'administrator', 'ltw_manage_testimonials', 'ltw_manage_testimonials', WP_PLUGIN_URL.'/ltw-testimonials/images/icon.png');
    
    	//	Create subpages
    	$ltw_tes_testimonials_manage = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Manage', LTW_TES_UNIQUE_NAME), __('Testimonials', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_manage_testimonials', 'ltw_manage_testimonials');
    	$ltw_tes_testimonial_groups = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Groups', LTW_TES_UNIQUE_NAME), __('Groups', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_manage_testimonial_groups', 'ltw_manage_testimonial_groups');
    	$ltw_tes_testimonial_design = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Design', LTW_TES_UNIQUE_NAME), __('Design', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_manage_testimonial_design', 'ltw_manage_testimonial_design');
    	$ltw_tes_testimonial_settings = add_submenu_page('ltw_manage_testimonials', LTW_TES_NAME.__(' - Settings', LTW_TES_UNIQUE_NAME), __('Settings', LTW_TES_UNIQUE_NAME), 'administrator', 'ltw_tes_settings', 'ltw_tes_settings');
    
  315. # jeroen said on July 5, 2011 at 14:53

    works, thank you.

  316. # Gordon said on July 9, 2011 at 14:21

    Hi,

    Any news on when version 2.0 will be ready – I am looking for a testimonial plugin for a site I am designing, and pagination is important to me, as is control of the style (I really like the grey background style for the testimonial plugin, but they are not longer developing it)

    I read above that you expected v2.0 to be ready in January – so is it out already, and I just can’t find it?

  317. # Jesse said on July 11, 2011 at 23:58

    I hate to beat a dead horse, but how do I add pagination? I am new to php, any examples?

  318. # Anze said on July 14, 2011 at 16:54

    Gordon, no news on v2. It was planned for January but I was busy then and busy now. No release date set at this time.

    Jesse, you have an example on how to use pagination in a file called “testimonial_index.php” in folder “pages”. The stuff starts at line 119.

  319. # Kailith said on July 17, 2011 at 13:06

    Hey, thank you for this plugin!

    I’m having difficulties with the website link. For instance, I put: http://www.artebus.com.ar/bordese, and that’s what the link says, but when I click on it, it goes to: http://form-function-web-production.com/playground/abraxas/contributors/www.artebus.com.ar/bordese. You can see that it’s trying to put the target site after my own, which is generating 404 errors. It doesn’t seem like anyone else is having this problem. What am I doing wrong and/ or how do I fix it?

    Thank you!

  320. # Anze said on July 17, 2011 at 14:02

    Kailith, add http:// before the rest of the link.

  321. # Jason said on July 18, 2011 at 21:41

    Anze,

    Just wanted to say thanks for your work on the plugin and for all the extra work you’ve been putting in supporting it.

  322. # Jesse said on July 19, 2011 at 21:40

    Can I pay you $$ via paypal to email me the pagination & randomization code changes? Tell me how much and I will send it to you first, then you can email me the code.

  323. # Susan T. Blake said on July 20, 2011 at 05:02

    Hi Anze, After having the Testimonials widget installed in my sidebar and working fine for some time, I just noticed that when I click on the “show more” link it takes to a page other than the testimonials page. Any idea about why this is happening and how to fix it?

    Thanks,
    Susan

  324. # Anze said on July 20, 2011 at 14:41

    Jesse, send me an email to contact@lessthanweb.com with more details on what you want exactly and we can talk about it.

    Susan, the widget show more link points to a page that is set for each group. That means that you need to show testimonials on that page by using the group shortcode “testimonial”.
    If you are showing all your testimonials on 1 page by using the general “show_all_testimonials” shortcode, then the show more link won’t work.
    You can modify the code for the widget though.

    Open ltw-testimonials.php file and find:

    echo '<p><a href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';

    and change it to your URL, like:

    echo '<p><a href="ENTER_THE_URL_TO_THE_TESTIMONIALS_PAGE">'.$instance['ltw_show_more_text'].'</a></p>';
  325. # Tas R said on July 25, 2011 at 15:12

    Hi There,

    I cannot seem to locate the code that pertains to the transition speed of the testimonials. I’ve looked in every single file and do not know how to change it.

    How can I decrease the speed at which it changes? Or how can I increase the time each testimonial is shown?

    Thanks!

  326. # Anze said on July 26, 2011 at 10:04

    Transition speed of the testimonials? No such thing in this plugin. If you are using this plugin then it’s been modified by someone.

  327. # Brian said on July 28, 2011 at 05:24

    client website – going live soon – mean time login with ltw/1234
    For some reason the widget does not display the testimonials randomly (stuck displaying just the 1st one)
    I have it set to display all 7.

    WP 3.1
    LTW plugin Version 1.3.0
    Theme Suffusion – 3.8.0

    BTW: great plugin! nice and intuitive and easy to customize the output.

  328. # Anze said on July 28, 2011 at 09:07

    Brian, to test something like that I would need full access to website to debug plugin in your WP set up. A simple login where I have access to nothing more then a profile page in WP doesn’t do it. :)
    You using any kind of caching? Maybe that’s the reason for just 1 testimonial. Just guessing since I have no view or access to anything.

  329. # Brian said on July 31, 2011 at 08:40

    Thanks so much for taking the time to reply. The site is now live with the same issue. There are no cache plugins.
    I’ll be happy to provide full wp access, could you email me as I don’t wish to post that info here.
    I’m just working on another new site using a different theme and its working just fine., same exact set of plug-ins and install/server. so likely just the theme issue. I do use suffusion allot tho, if you happen to find a simple resolution. I appreciate your time is valuable and will donate an appropriate amount if you are able to resolve the issue. Please let me know how much time you spend on this.
    Kind Regards
    Brian

  330. # Dean V said on August 4, 2011 at 11:06

    I am building a website using Suffusion and need a testimonial rotation facility on the sidebar. I have installed the plugin and it only displays the first testimonial despite 3 being added.

    Secondly, how do I set up the facility so that people can view all the testimonials on one page??

    Regards,
    Dean

  331. # Anze said on August 4, 2011 at 11:31

    You will need to code the rotation without page being refreshed. Right now you have to refresh the page to show different testimonial.
    As for the problem of only 1 testimonial being show in the widget, it appears that there’s a conflict with the Suffusion theme. Not known what the problem is until I get access to the WP that has Suffusion theme running.

    As for showing all testimonials on one page, use [show_all_testimonials] shortcode.

  332. # eric said on August 13, 2011 at 21:56

    In response to Christopher’s comments on June 18, 2011, there appears to be a bug where the “more text” functionality in the widget doesn’t work with child pages. I have my testimonial pages set up as child pages under a parent called testimonials. For example http://site.com/testimonials/group1-testimonials, but the link from the widget ignores the parent and goes to http://site.com/group1-testimonials which gives a 404 error.

    My solution, since all my testimonial pages are children of one parent, was to change the line in ltw-testimonials.php:

    echo '<p><a href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';

    to

    echo '<p><a href="testimonials/'.$ltw_tes_full_testimonials_url.'#ltw_testimonial_'.$testimonial['id'].'">'.$instance['ltw_show_more_text'].'</a></p>';

    by adding the parent into the URL.

    Hope this helps.

    Eric

  333. # Heather Pilz] said on August 15, 2011 at 16:58

    I really like this plugin but my client wants a few changes that I can’t seem to make. I want to change the client name and company weight and color. I changed both in the css code, and nothing changed. I also want to move the name/company closer to the testimonial itself. Help would be greatly appreciated. You can email me if it is easier. The page is on http://lisakamen.heatherpilzdesign.com/wp/lisa/ and http://lisakamen.heatherpilzdesign.com/wp/about-h-factor/.

    Thanks!!!
    Heather

  334. # Anze said on August 15, 2011 at 18:09

    Heather, CSS box on design page doesn’t have any effect on the widgets CSS code. That CSS and HTML boxes only affect the testimonials shown on page/post.

    Scroll up a bit, lots of replies about how to make the CSS work for widget. A bit of code editing will be required.

  335. # James said on August 16, 2011 at 23:40

    Hello Anze,

    Thank you for a great plugin. Very easy to use.

    I have been using the WordPress Plugin forums, and last night came across a new issue, I was looking for help and discovered you are active here.

    I just wanted to let you know, the ajax saving of “Show in Widget” is not working. I have installed with a clean WP install and I do not think it is a conflict with other plugins I’m using.

    I have also logged the issue here
    http://wordpress.org/support/topic/plugin-ltw-testimonials-admin-overview-page-show-in-widget-not-saving

    Other issues:
    http://wordpress.org/tags/ltw-testimonials?forum_id=10

    Thank you,
    =-)

  336. # MamaRed said on August 21, 2011 at 00:40

    OH boy, I have a feeling I’m gonna be blushing as soon as I ask this. And here goes anyway.

    I created 3 groups for my testimonials that all are children of the same page:

    Raving fans
    Coaching
    Speaking
    Strategizing

    I created 2 testimonials and put them in the Speaking group.

    They show up in the widget (formatting isn’t great, and will work with that in a minute).

    How do I get them to show up on the actual page?

    I pointed to it when I set up the group…didn’t get anything.
    I then put the shortcode on the page and get a blank box

    If you need to see behind the scenes, I’ll need to give you a log in since I’m using a separate plug in in front of my elegant themes wordpress site.

    Thanks bunches and lots!
    MamaRed

  337. # Anze said on August 24, 2011 at 16:45

    James, it could be that it doesn’t work with the latest version. No solution, you’ll need to debug it.

    MamaRed, there are some problems with child pages, what happens if you set the main page (not children) under Groups and then add testimonial into that page.

  338. # Sajid ali said on August 25, 2011 at 08:15

    hello Anze,
    nice plugin just one issue how we can disable random sorting in widget ?
    i need to show in order newest testimonials…..

  339. # Kim said on August 26, 2011 at 00:40

    This is a great plugin. Thanks for creating it – it’s just what I needed. I’m using Flexi Quote Rotator on one of my other sites and like that too but it didn’t have the grouping feature this one has. Since I plan on having multiple products featured on my site, I was wondering if the plugin has the ability to rotate testimonials within the page or post and not on the sidebar as a widget. It’d be great if you could marry the features in yours with Flexi Quote’s rotating and fade in/out features.

  340. # Anze said on August 26, 2011 at 09:18

    Sajid, open ltw-testimonials.php file and find

    $sql = $wpdb->prepare("
    		SELECT t.*, g.`group_name`, g.`page_id`
    		FROM ".LTW_TES_TESTIMONIALS_TABLE." AS t
    		LEFT JOIN ".LTW_TES_TESTIMONIAL_GROUPS_TABLE." AS g ON (g.`id` = t.`group_id`)
    		WHERE t.`group_id` = %d
    		AND t.`show_in_widget` = 1
    		ORDER BY RAND()
    		LIMIT ".$num."
    		", $ltw_show_group_id
    	);

    Change it to

    $sql = $wpdb->prepare("
    		SELECT t.*, g.`group_name`, g.`page_id`
    		FROM ".LTW_TES_TESTIMONIALS_TABLE." AS t
    		LEFT JOIN ".LTW_TES_TESTIMONIAL_GROUPS_TABLE." AS g ON (g.`id` = t.`group_id`)
    		WHERE t.`show_in_widget` = 1
    		ORDER BY t.`id`
    		LIMIT ".$num."
    		");

    And that should do it.

    Kim, while rotation in the widget is already on the todo list for the version 2, rotation on the page/post was not, but it is now. :)

  341. # Tisha Oehmen said on August 26, 2011 at 16:36

    I love this plugin, but recently, the only part of the Testimonials admin page that I can see is the “Add New” – I can add a testimonial, and I can see it on my website, but I seem to have lost the ability to access and edit testimonials in the admin section. Any ideas?

  342. # Anze said on August 26, 2011 at 22:11

    Tisha, that’s weird. Any modifications to the plugin made?
    Try by disabling all the plugins and then enable testimonial plugin and others, one by one. Maybe there is a conflict with some other plugin.. Just guessing really.

  343. # Anne said on August 29, 2011 at 16:59

    I first want to say this plugin is awesome!

    Is there a way to turn the border off on your blank.png image but leave it on the uploaded images?

  344. # tania said on August 30, 2011 at 10:11

    Hi!

    I used this plugin only a few months ago on this website and it worked fine. Now all of a sudden I can’t get the testimonials to show on the testimonial page. I’ve checked that I’ve selected the right page, have changed it from a child to a main page but with no success. I can’t figure out what’s wrong? Any ideas? THANKS

  345. # Anze said on August 31, 2011 at 17:31

    Anne, no such option. You can do it by modifying the code.

    Tania, have you done any upgrades to WP? Or installed any new plugins? So many things that could be wrong.. Can’t help without access to your site so that I could trace the problem.

  346. # Gull said on September 10, 2011 at 10:51

    i dont knw how to call is on the testimonial page …………..i mean short code to display testimonials………..i gone through comments but nt found

  347. # Anze said on September 10, 2011 at 10:58

    Gull, click no Groups and you will see the shortcode. Insert that shortcode into the page that is set for that group.

  348. # Kitty said on September 13, 2011 at 13:02

    Does it support different language? I put Chinese testimonial but the text cannot be displayed.

  349. # Anze said on September 13, 2011 at 13:53

    Kitty, it works just fine, it depends on the encoding of your site and font that is being used.

  350. # Tracey said on September 13, 2011 at 15:07

    Great plugin. I saw your response regarding changing the default image to something from our library, but is there a way to have nothing there when we don’t upload an image?

  351. # Anze said on September 13, 2011 at 19:42

    Tracey, yes but you’ll have to edit the code.

    Open ltw-testimonials.php file and find:

    if ($testimonial['client_pic'] == '')
    			{
    				$ltw_testimonial_str = str_replace('%image%', get_bloginfo('url').'/wp-content/plugins/'.LTW_TES_FOLDER_NAME.'/images/blank.png', $ltw_testimonial_str);
    			}
    			else
    			{
    				$ltw_testimonial_str = str_replace('%image%', $testimonial['client_pic'], $ltw_testimonial_str);
    			}

    Replace it with:

    if ($testimonial['client_pic'] == '')
    			{
    				$ltw_testimonial_str = '';
    			}
    			else
    			{
    				$ltw_testimonial_str = str_replace('%image%', '<img src="'.$testimonial['client_pic'].'" alt=""/>', $ltw_testimonial_str);
    			}

    And then on the Design page in the HTML box, replace:

    <div class="ltw_tes_image_cont"><img src="%image%" alt=""/></div>

    With:

    <div class="ltw_tes_image_cont">%image%</div>
  352. # Trinifieds said on September 15, 2011 at 22:19

    Hi! This is an excellent plugin! Congrats on your work. I have a quick question though. Is there a way to allow users to add their testimonials and then have admin review it?

  353. # Anze said on September 16, 2011 at 07:05

    Trinifieds, that function is not included in this version.

  354. # Daniel Park said on September 16, 2011 at 15:13

    Hi Anze:

    Is there any way to disable the use of anchors when the user clicks the “show more” link. It goes to my Testimonials page no problem, but I want the user to always end up at the TOP of the Testimonials page, not on the testimonial they clicked in the widget…

    thanks, Daniel

  355. # Anze said on September 17, 2011 at 09:11

    Daniel, open ltw-testimonials.php file and find this line:

    echo '<p><a href="'.$ltw_tes_full_testimonials_url.'#ltw_testimonial_'.$testimonial['id'].'">'.$instance['ltw_show_more_text'].'</a></p>';

    Replace it with this:

    echo '<p><a href="'.$ltw_tes_full_testimonials_url.'">'.$instance['ltw_show_more_text'].'</a></p>';
  356. # Daniel Park said on September 17, 2011 at 09:44

    Awesome. That worked perfectly. Given that some people may want a “See this entire testimonial” link, and others a “Click here to see more testimonials” link, it might make sense to build this choice into the UI in future editions.

    Another feature request, if I may. It would be cool to have an additional (optional) field for the person’s job title. Right now, I have to have the job title and company on the same line, which looks a little wonky considering that it usually links to the company’s web site.

    cheers, Daniel

  357. # Leamington Fitness said on September 22, 2011 at 14:05

    Great plugin. Is there a way to get a shortcode for each individual testimonial, or is that just for groups?

  358. # Anze said on September 22, 2011 at 18:04

    Just for groups and one for displaying all testimonials. Shortcode for individual testimonials will be available in next version.

  359. # Daniel Moore said on October 12, 2011 at 11:57

    Is it posible to use the plugin in a multisite network?

  360. # James said on October 19, 2011 at 23:01

    Hello Anze,

    A solution has been posted to the bug reported here, I have tested it on my local install and it is working.

    Bug:
    http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-1501

    Solution:
    http://wordpress.org/support/topic/plugin-ltw-testimonials-admin-overview-page-show-in-widget-not-saving

    Thanks,
    =-)

  361. # Breezy said on October 31, 2011 at 14:57

    Thanks for the plugin! I just donated and am using this plugin. Just one question .. how can I build a page of all the testimonials? .. place some code in the body part of a new page? It would be nice if there was an option for this in the new update when you get that done.

  362. # Anze said on October 31, 2011 at 18:37

    To show all testimonials on a page, use [show_all_testimonials] shortcode.

  363. # Dunskii said on November 2, 2011 at 05:53

    Howdy.
    Just wondering if there is a way to display a testimonial in the header.php of my theme.
    I was thinking if just using a shortcode e.g.
    But I cant seem to find if there is a shortcode to display a randomly selected testimonial.
    Great work by the way.
    D

  364. # Anze said on November 2, 2011 at 13:55

    No, currently there are no functions that you can use in the files directly. If you want to show random testimonial in header.php the easiest way would be to simply add SQL query to header.php and get the testimonial from the table.

  365. # umar said on November 2, 2011 at 22:47

    Hi I hope the plug in will update from v1 to v2 by itself Also looking for this one feture to be addedd
    “Allow users to add their testimonials and then have admin review it” Thats what I am looking for as this would be a grate feature to ad to v2.

  366. # Dunskii said on November 7, 2011 at 06:35

    Just an fyi for others that want to add a testimonial to the header.
    I added a widgetized area to the header following this tutorial.
    http://wpmu.org/how-to-widgetize-a-page-post-header-or-any-other-template-in-wordpress/
    Hope it helps someone.
    D

  367. # joanne said on November 7, 2011 at 16:29

    Hi,
    I was wondering if there was away to show a certain amount of testimonials on a page and have an option at the page to click on page 1 etc?

    Thanks

  368. # Anze said on November 8, 2011 at 09:37

    Joanne, pagination will be available in the next version.

  369. # joanne said on November 8, 2011 at 10:29

    Do you know when the next version will be released?

    Many thanks,
    Joanne

  370. # Anze said on November 8, 2011 at 13:51

    No date set yet. I’m working on it but it takes time as it will contain a lot more features.

  371. # Mark said on November 8, 2011 at 17:59

    Great plugin, Only problem is when you click on read more it goes to the testimonials page but there’s no testimonials! it has [testimonial group="1"] within the page content. What have i done wrong!?? i’m using wp 3.2.1.

    Cheers M

  372. # scott said on November 14, 2011 at 05:10

    Hi, does anyone know how i could get the testimonals age (not the widget)
    to only show 5 random testimonials each time the pages loads (instead of displaying them all)

    Thanks very much in advance.
    I have been trying to use:

    ORDER BY RAND() LIMIT 5

    not having much luck.

  373. # Anze said on November 14, 2011 at 16:12

    Scott, which shortcode do you use for displaying testimonials on a page? For displaying all testimonials or for specific group? Maybe you added the RAND() into the wrong function.

    If you use the group shortcode, modify the SQL in this function:

    function ltw_tes_shortcode($atts)

    If you are using the show all shortcode, modify the SQL in this function:

    function ltw_tes_shortcode_all()
  374. # scott said on November 15, 2011 at 01:58

    Hi, I’m using the shortcode function [testimonial group="2"]

    Is this the area here i should be adding to?
    I added the line: ORDER BY RAND() LIMIT 5 below but it is stopping any at all from appearing. Do you have any ideas? Thanks for coming back to me Anze.

    $sql = $wpdb->prepare(”
    SELECT *
    FROM “.LTW_TES_TESTIMONIALS_TABLE.”
    ORDER BY RAND() LIMIT 5
    WHERE `group_id` = %d
    “.$ltw_testimonials_order_sql,
    array($ltw_tes_group_id)
    );

  375. # Anze said on November 15, 2011 at 13:17

    Scott, that’s wrong. By default the function already adds ORDER BY at the end, so you need to remove that and replace it with your line.

    In function

    function ltw_tes_shortcode($atts)

    Change the SQL to this:

    $sql = $wpdb->prepare("
    		SELECT *
    		FROM ".LTW_TES_TESTIMONIALS_TABLE."
    		WHERE `group_id` = %d
    		ORDER BY RAND() LIMIT 5",
    		array($ltw_tes_group_id)
    	);
    
  376. # Drew said on November 15, 2011 at 22:50

    Hi is it possible to add some text to the top of the testimonials widget? The person I am making a website for would like it to read “clients confidentiality is regarded” before the testimonials are shown in the sidebar.

    Thank you very much :)

  377. # scott said on November 16, 2011 at 10:24

    Hi Anze,

    Thank you so much for your help on this.
    That worked perfectly.

  378. # Anze said on November 16, 2011 at 12:21

    Drew, you could set that as a title in the widget.
    If that’s not good, then you’ll have to edit the code.

    Find:

    function widget($args, $instance)

    And inside this function find:

    if ($ltw_title)
    echo $before_title . $ltw_title . $after_title;

    Below this lines, add something like:

    echo '<p>clients confidentiality is regarded</p>';
  379. # Drew said on November 16, 2011 at 19:58

    Thanks that worked super-well. :)

  380. # Glenn said on November 17, 2011 at 02:45

    I just wanted to say thanks for this widget, you have done a great job!

    I came to this site because I was unsure where to get the code to put the testimonials on a page. I did not immediately click that the short code in the Groups page is what I needed.

    Glenn

  381. # Elmar said on November 19, 2011 at 05:04

    Hi,
    Great plugin.
    I had a question. Is it possible to have the text wrapped around the picture both on the widget and on the pages. You know like when in WP you set alignment to the left and text wrappes around it as opposed to the picture being on its own line.
    Thanks.

  382. # Anze said on November 19, 2011 at 10:02

    Use HTML and CSS design boxes to do that. Setting float left/right css style for the picture is the key.

  383. # Cynthia Moralez said on November 24, 2011 at 05:43

    Hi. I like this plugin very much, thank you.
    I would like to know if i can get the “short code” to show random testimonials of a specific group without using the widget.

    Thanks.

  384. # Anze said on November 24, 2011 at 10:21

    Cynthia, read a few posts above yours when the same question was answered.
    http://www.lessthanweb.com/products/wp-plugin-ltw-testimonials#comment-3209

  385. # Ben said on November 27, 2011 at 21:32

    How do I edit the testimonials? I have everything setup and testimonials added but there’s one I need to fix a typo on and I can’t seem to find a page to edit them.

    Thank-you!

  386. # Anze said on November 28, 2011 at 12:41

    Ben, edit testimonial on the Testimonials page where all of them are listed. Hover over the testimonial and the edit link will appear. Same as editing posts or pages.

  387. # Ben said on November 28, 2011 at 20:18

    Hi Anze,

    When I go to the testimonials page, the only option is “Add New Testimonial.” I don’t see any of the previously added testimonials there. However, when I got the groups page, I can see the # of testimonials so I know they are there.

    Thanks,
    Ben

  388. # Kevin said on November 28, 2011 at 22:54

    trying to change the widget Author and company style italic text to normal text. not to sure where in the php file it is to edit. Please help. Thanks

  389. # Anze said on November 29, 2011 at 09:06

    Ben, open “pages/testimonial_index.php” file and find:

    include(ABSPATH.'/wp-content/plugins/'.LTW_TES_FOLDER_NAME.'/pagination.class.php');

    Change it to:

    //include(ABSPATH.'/wp-content/plugins/'.LTW_TES_FOLDER_NAME.'/pagination.class.php');

    Can you see testimonials after the change?

    Kevin, open ltw-testimonials.php file and find:

    echo '<p><cite>';

    That’s where the HTML is for the client and company name.

  390. # Ben said on November 29, 2011 at 20:37

    Hi Anze, That worked, thank-you!

  391. # Stacey said on December 1, 2011 at 05:49

    hi -

    The ordering of the testimonials is not working on my site (using a Studiopress Genesis theme). I have 17 testimonials inserted, with them numbered in the order that I want them to show, and I’ve selected “user defined” for “sort testimonials on page by”, but they are actually being viewed in opposite order. #16 is first and #1 is last. As a work around, I’ve numbered them in reverse order to appear in the correct order. Has anyone else had this problem?

    Stacey

  392. # Cynthia said on December 1, 2011 at 13:58

    Hi Anze, thank you for your reply, but i didn’t quite understand how to do it. I don’t know so much about coding.
    I wonder if there is an easy shortcode like this: [testimonial group="1"] than in stead of showing a list, will show one testimonial from that group every time the page is changed. In other words, i need a short code that have the same functions of the widget. Thank you.

  393. # Karin Grech said on December 16, 2011 at 12:08

    Hi,
    does your plugin work in a WP MU admin?
    I have scrolled through all the comments above but did not come across this question.

    Thanks for a quick answer.
    Karin

  394. # Anze said on December 16, 2011 at 15:34

    Karin no. This version does not support multisite feature of WP.

  395. # Nikki said on December 18, 2011 at 03:27

    HI, thank you for the widget. I’m working on an unpublished Testimonials page. Quick question(s):
    - can I make the testimonials rotate instead of display as list? how would I do that? Can I edit the code and how?
    - I’m trying the edit the css, such as font size/color etc but none of my changes are sticking. Any suggestions?
    Thanks!

  396. # dani said on December 18, 2011 at 05:11

    hi – love this plugin. Did you ever mention how to fix the photo issue on the actual testimonials page? Mine are displaying large, I’ve resized them in the media gallery but they are not updating (not cached, checked in different browsers ). Also they are overlapping the words, even when I remove the photos the placeholder for the photo is not positioned right. Am I missing something? Thanks a bunch!

  397. # Anze said on December 20, 2011 at 15:10

    Nikki, rotating the testimonials is possible but a lot of code needs to be rewritten for that. You can then use jQuery to rotate the testimonials by using ajax.
    As for the CSS changes, if you want to change the widget testimonial, you will have to edit code directly as widget CSS editing is not possible in this version.

    Dani, you need to set fixed width and height using CSS for the img tag itself. If it’s not set, the image will be displayed in full size.
    As for the resized image, that’s weird. You sure you used the resized URL and not the original one? If you check just the images URL, is it resized correctly? Anyway, just set style=”width: 80px; height: 80px;” to the img tag itself and it should work.

  398. # Jami said on December 28, 2011 at 00:12

    Greetings:

    Am interested in posting a testimonial summary randomly on each page using the widget and ALSO inserting a video link to YouTube or Vimeo on the page listing all the testimonials.

    I noticed this request last year in this post (# Keith Wootton said on October 5, 2010 at 14:35 ). Just curious as to the progress and/or anticipated release of this feature.

    Thanks!

  399. # Wil said on January 1, 2012 at 00:36

    Love the plugin, would it be possible to
    1.Add jquery to make the random quote auto refresh, like the one they have in TB testimonial instead having to refresh the site to see a new quote.
    2. Plus the ability to add link to the full testimonial page via the Widget Title beside the current Text for sidebar link. I reviewed many of the testimonials on offer and non contains this ability. I end up having to hack the code.
    3.CSS styling sheet to style both widget/sidebar and full page quote.
    Willing pay for the updates if the price is right.

  400. # James Britton said on January 30, 2012 at 13:04

    Hi,

    Thanks for taking the time to create an awesome plugin, hopefully an easy question for you…how do I float or align the “Show More” link right?

    I have been trying to work it out for hours.

    Thanks in advance,
    James

  401. # Anze said on February 4, 2012 at 12:22

    James, you will have to edit the code manually and set the CSS style to the following line:

    echo '<p><a href="'.$ltw_tes_full_testimonials_url.'#ltw_testimonial_'.$testimonial['id'].'">'.$instance['ltw_show_more_text'].'</a></p>';
  402. # Célio said on February 15, 2012 at 02:32

    Hello,

    I’m using your plugin in my website. But i have tried to update the Design and i got this error message:
    “ERRO: a página de opções não foi encontrada.” in portuguese
    “ERROR: the option page was not found.” or something like that in english

    Do you know why this is happening? I can access the page /wp-admin/options.php.

    Thanks for your attention!

  403. # daiva said on February 22, 2012 at 23:31

    Hi there,
    Out of the sudden testimonials are not showing up in the widget, and when I go to the testimonials dashboard, all ticks are unticked (show in the widget). If I tick them, page updates, but still no testimonials in the widget and all ticks disappeared again..

    Can you please help?

    Thanks
    Daiva

  404. # Ashwani Sharma said on February 27, 2012 at 08:53

    Hello Anze,

    I am not a PHP developer but I am using this plugin for one of my website to show testimonials. As your comments I put this “[testimonial group="1"]” code on my page but in browser its showing the same thing written “[testimonial group="1"]” but not testimonials I created using admin. Is this plugin doesn’t work in local browser or I am missing something here. Please assist.

    Ashwani Sharma

  405. # Anze said on March 1, 2012 at 19:02

    Sorry guys for late reply, busy as hell..

    The new version is being developed, not as fast as I want but hey. I’m hoping it will be ready for release soon.

    Célio, honestly I have no idea what’s going on.

    daiva, solution is here: http://wordpress.org/support/topic/plugin-ltw-testimonials-admin-overview-page-show-in-widget-not-saving

    Ashwani Sharma, you need to put the shortcode on the same page as you set it on the Groups page. You cannot use the shortcode on all pages, just the one you set. This will be fixed in the next version..

  406. # Justin said on March 6, 2012 at 08:19

    Hi,

    I would like to ask if I can modify the widget area slightly by bolding the author of testimonial and also add a horizontal line after each testimonial so that we can differentiate them.

    Justin

  407. # Steve said on March 7, 2012 at 07:15

    Hey Anze,
    Just tried out your plugin and I think it’s GREAT. Thanks for all of your work and effort for this. I do have one thing I did want to point out (and I believe this is what Stacey found on 12/1/11 as well).

    When you use the display all shortcode with the ordered option, the testimonials are displayed in ascending order.

    However, if you display the testimonials by a specific group and have the ordered option, the data is in descending order.

    I took a quick look at the code and found the discrepancy, the order by clause for the group display is set to “DESC” (but the show all code has “ASC”).

    I made the following code change to the ltw-testimonials.php and it works for me:
    //$ltw_testimonials_order_sql = ‘ ORDER BY `order` DESC ‘;
    $ltw_testimonials_order_sql = ‘ ORDER BY `order` ASC ‘;

    Sorry, I don’t have the line number, but a search on “$ltw_testimonials_order_sql = ‘ ORDER BY `order`” will show the right lines (first is display group – which I changed, second is display all – did not change).

    Again, GREAT plugin. THANK YOU!

  408. # Jo Riches said on March 7, 2012 at 20:48

    Hi there,

    I have the same issue as Ancrew Rigg said on March 10, 2011 at 03:27

    My client’s testimonials are on more than 1 paragraph. The second paragraph is styled differently.

    I’ve made the suggested change in the above post, but it hasn’t solved it.

    The site is: http://www.amsbuildingandlandscaping.co.uk/references/ (sorry it’s so ugly – client’s choice!!!)

    Thanks for your help.
    Jo

  409. # Sean said on March 19, 2012 at 15:16

    Hi Anze,

    First of all let me tell you that today i tried EVERY SINGLE Testimonial plugin on the wordpress repository and each one of them didn’t work for me for some reason or the other. Some were too complex, some too ugly, some badly coded . . . I was frustrated, irritated and at my wits end at not being able to find something so simple.

    Then I found your plugin. Why I found it last is because I somehow overlooked it in the confusion of trying so many of them.

    Anyway, Your plugin is great for me because it lets me do what i want to do in a simple and elegant manner . . . which is simply display all testimonials on a page. I do not need a widget. It’s really great and I am going to send you a donation on your paypal account.

    I have 3 questions about it though -

    1. When is your version 2.0 releasing ? (Read so much about it on this page)

    2. Is there a plan to add a small form so users can add testimonials from the front-end (which should be approved of course) ? This is very good feature you should seriously consider. The very quality of testimonials change when users are adding it on the site itself rather than mailing it to the site-owner on request.

    3. There’s a small change in the display layout that I wanted, Instead of the ‘client company’ automatically becoming the live web-link for the ‘website URL’ entered, I wanted to display the client name, client company and the website URL all separately one below the other. Something like this -

    Testimonial
    Client Name
    Client Company
    Website URL (with a target=”_blank” link)

    Is there a simple way to do this ?

    I am not an expert with php, if it’s not too much trouble, could you help me with the code that should be replaced in ltw-testimonials.php or testimonial_index.php to achieve this ?

    Thanks a lot for your efforts….even without the above requested options, this is, without a doubt, the best testimonials plugin out there as it is and I’m going to write about it in my blog. :-)

    Sean.

  410. # Anze said on March 19, 2012 at 17:03

    Hi Sean, I’m not sure about V2 release date. Since I’m working on it in my free time and the plugin will be free, it is taking a bit longer then I wanted but then again most of the features requested here will be added. So the whole thing just got bigger a few times which means even more time to invest. :)

    If you want to display the company and link, find this lines, comment them out and add the few extra lines at the bottom:

    /*if (strlen($testimonial['client_company']) > 0 && strlen($testimonial['client_website']) == 0)
    		    {
    				$ltw_testimonial_str = str_replace('%client_company%', stripslashes($testimonial['client_company']), $ltw_testimonial_str);
    		    }
    		    else if (strlen($testimonial['client_company']) > 0 && strlen($testimonial['client_website']) > 0)
    		    {
    		    	$ltw_testimonial_str = str_replace('%client_company%', '<a class="cite-link" href="'.$testimonial['client_website'].'">'.stripslashes($testimonial['client_company']).'</a>', $ltw_testimonial_str);
    		    }
    		    else if (strlen($testimonial['client_company']) == 0 && strlen($testimonial['client_website']) > 0)
    		    {
    		    	$ltw_testimonial_str = str_replace('%client_company%', '<a class="cite-link" href="'.$testimonial['client_website'].'">'.$testimonial['client_website'].'</a>', $ltw_testimonial_str);
    		    }
    			else
    			{
    				$ltw_testimonial_str = str_replace('%client_company%', '', $ltw_testimonial_str);
    			}*/
    
    			$ltw_testimonial_str = str_replace('%client_company%', stripslashes($testimonial['client_company']), $ltw_testimonial_str);
    			if ($testimonial['client_website'] !== '')
    			{
    				$ltw_testimonial_str = str_replace('%client_website%', '<a class="cite-link" href="'.$testimonial['client_website'].'">'.$testimonial['client_website'].'</a>', $ltw_testimonial_str);
    			}
    

    You now have a new tag that you can use in the design pages: %client_website% and it will display just the URL.

  411. # Brian said on March 22, 2012 at 22:46

    Just wondering if this feature will be included in V2?

    from your posts – Oct,2011
    I’m trying out your plug-in and really like how cleanly it is designed on both the back-end and the display part. I created 6 quotes and put them all in the same group. I can see them on the home page, but I had assumed that the widget would load each quote in order either rotating/fading them continually. Right now, it only loads a new quote when I refresh the page. I liked the idea of it dynamically working its way through all the quotes in the group. Am I missing a setting, or does the widget not work in that fashion?

    # Anze said on October 20, 2010 at 14:43

    Hi Leland,

    Live refreshing is currently not available. It is on my TODO list and should be included in the next version if all goes well.

  412. # Anze said on March 23, 2012 at 10:30

    Brian, yes, the feature is on the V2 todo list.

  413. # Karen of Mount Gambier Website Design said on April 19, 2012 at 02:06

    Does the image uploaded show on the full testimonials page?
    I’ve uploaded some images but nothing happens on testimonials page to show that the images are there. The text part of the testimonial is fine.

    Plugin version 1.3 and WordPress 3.3.1.

    Thanks for your help and looking forward to version 2.
    Karen

  414. # Vijaykumkaran said on April 28, 2012 at 19:02

    i want to add testimonials in index page for that i want function code example

  415. # Andrew Rigg said on May 11, 2012 at 01:30

    Testimonial images are not appearing on the Testimonial edit screen after upload and they are not appearing in the front end testimonial. If effect, nothing happens.

    Please advise.

Leave a comment

© 2012 LessThanWeb.com
All rights reserved.