WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by WooThemes
[resolved] Testimonies Are Blank (32 posts)

  1. boodaddy
    Member
    Posted 1 year ago #

    I am using the shortcode [woothemes_testimonials]. When I test my page it is blank. When I "select all" and paste it in a word doc, I can see the testimonial. I think something needs specified for font color etc in the .css file. Any way I can fix this?

    Appreciate any help, or advice you can offer.

    Appreciate your time

    http://wordpress.org/extend/plugins/testimonials-by-woothemes/

  2. ashleynlinares
    Member
    Posted 11 months ago #

    I have this same issue. Text shows in the code but not on the page. Tried adjusting font colors, display, etc. in css and nothing is working. Help, please!

  3. Matty Cohen
    Member
    Plugin Author

    Posted 11 months ago #

    Hi boodaddy,

    Thanks for your query. :)

    If you can see the output when you copy/paste the HTML, then there is a styling conflict within your theme or another plugin's CSS (at the time of writing, the testimonials plugin doesn't output any CSS).

    I'd advise checking the "display", "visibility" and "height" properties.

    This can be done using "Inspect Element" in Google Chrome/Safari or the "Firebug" extension in Firefox.

    Regards,
    Matty.

  4. Aaron Sylvan
    Member
    Posted 11 months ago #

    NOPE - the HTML is not being output (I checked Chrome and Firefox).

    The defect seems to relate to the "%%TEXT%%" not being substituted correctly into this:

    $tpl = '<div id="quote-%%ID%%" class="%%CLASS%%"><blockquote class="testimonials-text">%%TEXT%%</blockquote>%%AVATAR%% %%AUTHOR%%<div class="fix"></div></div>';

    inside the testimonials-by-woothemes/woothemes-testimonials-template.php file?

    I dunno, maybe that's wrong.
    But the actual HTML being output definitely has a 'blockquote' tag followed by a '/blockquote' tag, with no text in between.

    Any help much appreciated!!

    -Aaron Sylvan

  5. Shawn Hesketh
    Member
    Posted 11 months ago #

    Same thing I'm seeing, Aaron. No testimonial text after upgrading.

    http://www.wp101.com/feedback/

    Hoping for a speedy resolution!
    Shawn

  6. Aaron Sylvan
    Member
    Posted 11 months ago #

    Ok, here's a crappy hack...

    Using "Plugins->Editor" and selecting "Testimonials", you can get to the "testimonials-by-woothemes/woothemes-testimonials-template.php" file.

    Line 133 is:

    $content = apply_filters( 'woothemes_testimonials_content', get_the_content(), $post );

    and if you change that to:

    $content = get_the_content();

    then it seems to work okay. I'm not sure what the "woothemes_testimonials_content" filter was intended to do — it may be intended to "sanitize" the testimonials against people sneaking hacks into them. But if you write your own testimonials and don't allow reader submissions, it won't matter.

    ANYway... I'd really like to see a fix originate from Woo on this one, but in case of emergency my answer about should work.

    Happy hacking!

    -Aaron

  7. Jon Schroeder
    Member
    Posted 11 months ago #

    Is there an easy way to simply downgrade the plugin while we're waiting for a fix? I'm using the Appply theme with Testimonials displaying on the home page (not the shortcode), but I'm having the same issue after upgrade.

  8. Matty Cohen
    Member
    Plugin Author

    Posted 11 months ago #

    Thanks Shawn and Aaron.

    I'll look further into this and deploy 1.3.1 soonest with the fix.

    Please also keep an eye on http://github.com/woothemes/testimonials/tree/develop/ for the latest commits to the plugin.

    My sincerest apologies for the inconvenience caused here.

    Thanks and regards,
    Matty.

  9. Shawn Hesketh
    Member
    Posted 11 months ago #

    Thanks, Matty.

    And Jon, you can download previous versions of any plugin from the “Developers” tab:

    http://wordpress.org/extend/plugins/testimonials-by-woothemes/developers/

  10. Jon Schroeder
    Member
    Posted 11 months ago #

    Thanks!

    I simply downloaded the old version (http://downloads.wordpress.org/plugin/testimonials-by-woothemes.1.2.1.zip), deleted the new version of the plugin, and uploaded the old one.

    Fixed for now, and I'll wait for the next version to upgrade.

    So that you can diagnose -- I was seeing the same thing; I'd thought for a moment that I was seeing a CSS error, but when I looked, there was nothing being output in the HTML.

    Best of luck, Matt!

  11. Matty Cohen
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Aaron, Shawn,

    I've done some further digging and have isolated and resolved the bug.

    Could you please test the code at the following branch ( https://github.com/woothemes/testimonials ) and confirm that the fix works correctly on your ends?

    If the fix works correctly for you both as well, I'll deploy the update to WordPress.org.

    Thank you for your patience in this regard.

    Thanks and regards,
    Matty.

  12. Shawn Hesketh
    Member
    Posted 11 months ago #

    Appears to work for me. Rock on!

  13. Matty Cohen
    Member
    Plugin Author

    Posted 11 months ago #

    I've tagged and deployed version 1.3.1.

    Thanks for testing! I'm glad to see this bug resolved. :)

  14. ashleynlinares
    Member
    Posted 11 months ago #

    I am using version 1.3.1 but still encountering this same issue.

    Any help?

    http://ashleylinares.com/aha

  15. ashleynlinares
    Member
    Posted 11 months ago #

    ^^^ you can view the testimonial (or rather, not view the testimonials) in the footer area of the content and on the testimonials page - http://ashleylinares.com/aha/testimonials/

  16. Matty Cohen
    Member
    Plugin Author

    Posted 11 months ago #

    Hi ashleynlinares,

    There is a styling conflict between a CSS class used in the testimonials plugin, and your theme.

    Please add the following CSS code to your theme's stylesheet:

    .widget_woothemes_testimonials .fade { opacity: 1; }

    Regards,
    Matty.

  17. ashleynlinares
    Member
    Posted 11 months ago #

    Perfect! Thank you, Matt!

  18. rhubarbmedia
    Member
    Posted 10 months ago #

    Added the code - style doesn't show testimonies
    http://www.candlelightersimcoe.ca/
    scroll down the page to see widget area

    I'm using the DonateNow Theme

  19. Matty Cohen
    Member
    Plugin Author

    Posted 10 months ago #

    @rhubarbmedia - In future, please post a new thread, as the solution didn't work in your use case.

    Upon viewing your website, I see you're not using the testimonials widget anywhere in your widget areas... I assume you removed it due to it not displaying.

    I'd advise using the "Inspect Element" tool in Google Chrome, or "Firebug" in Firefox to determine the CSS selector that's conflicting here (as you mentioned above, the previously-suggested CSS didn't work in your use case).

    From there, placing the relevant CSS code in your theme should get the testimonials displaying. :)

    Regards,
    Matty.

  20. edmats
    Member
    Posted 10 months ago #


  21. rhubarbmedia
    Member
    Posted 10 months ago #

    I placed the testimonial widget back on the "about us" page can. I send you the login to help fix the issue? I'm not sure what to look for in regards the CSS selector.
    http://www.candlelightersimcoe.ca/about-us/

  22. Matty Cohen
    Member
    Plugin Author

    Posted 10 months ago #

    @rhubarbmedia - Your theme doesn't properly apply/respect widget CSS classes. That's why the above-mentioned CSS snippet didn't work for you. :)

    Try this instead:

    .testimonials.fade {opacity: 1 !important; }

    That should get the testimonials displaying correctly. :)

  23. rhubarbmedia
    Member
    Posted 10 months ago #

    I placed the code snippet in the 3 style CSS files avaiable and it still does work. Wasnt sure which one. Maybe these were the incorrect files to update? Pls tell me which CSS file and What line it should go. Thanks. Alternativly. Could give you the login to test it yourself.

  24. Matty Cohen
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Rhubarbmedia,

    Please place the following code in your "functions.php" file (make sure it's inside "PHP" tags, otherwise the code will break): https://gist.github.com/mattyza/1e112788b96999d35c68

    In future, I'd strongly advise using a different theme, as this "DonateNow" theme is not obeying certain basic WordPress theming guidelines, which makes it somewhat cumbersome to troubleshoot.

    I hope the above snippet helps. I my testing, the above snippet remedied the display issue. :)

    Thanks and regards,
    Matty.

  25. rhubarbmedia
    Member
    Posted 10 months ago #

    Thanks, I'll mention to the theme creator to concider updating their code.
    Can you tell me exactly where to paste the code? Line #. Or just more in layman's terms.
    "Please place the following code in your "functions.php" file (make sure it's inside "PHP" tags, " I see "<?php" where should the code go? Sorry. Not a coder.

  26. Matty Cohen
    Member
    Plugin Author

    Posted 10 months ago #

    Sure thing. :)

    At the bottom of your "functions.php" file, there should be a ?> tag.

    Just above this tag is where you'd place the above-mentioned code.

    Hope this helps. :)

  27. rhubarbmedia
    Member
    Posted 10 months ago #

    Whew! Thanks so much! btw - I love Woo! ;)

  28. Matty Cohen
    Member
    Plugin Author

    Posted 10 months ago #

    Thanks rhubarbmedia. Glad I could assist. :)

  29. Jon Schroeder
    Member
    Posted 10 months ago #

    Might I suggest another possible fix (for the second issue brought up in this thread)?

    Matt, the .fade CSS class is set to opacity:0 in twitter bootstrap; perhaps in a future release, you might use a different name (as this is likely to cause problems in quite a number of themes.

    The fix is quite easy, but it might save you some grief.

  30. Matty Cohen
    Member
    Plugin Author

    Posted 10 months ago #

    Great call, John. I've added this to our bug tracker for further inspection. For reference, this issue is listed here. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.