WordPress.org

Support

Support » Plugins and Hacks » Testimonials Widget » [Resolved] [Plugin: Testimonials Widget] Not rotating through posts at all

[Resolved] [Plugin: Testimonials Widget] Not rotating through posts at all

Viewing 7 replies - 1 through 7 (of 7 total)
  • Any ideas? I like this plugin – but I really need it to function correctly. Please see the dev version of the website I’m working on dev.themeyvngroup.com/coloursofbeauty

    Plugin Author Michael Cannon

    @comprock

    If you open your site and check the Console debug screen, you’ll find that jQuery isn’t loading before the testimonials call. As such, no rotation.

    Plugin Author Michael Cannon

    @comprock

    Hi There,
    I am having a similar problem… I have been using this great widget on:
    http://warbornefarm.co.uk/warborne/?page_id=2
    and it rotates through the testimonials great.

    But on the following they don’t rotate:
    http://offers.healthy-options.co.uk/

    Any suggestions would be greatly received…
    Many Thanks!!!

    Plugin Author Michael Cannon

    @comprock

    There’s an…

    Uncaught TypeError: Object #<Object> has no method 'first' in nextTestimonial2 on line 230 of http://offers.healthy-options.co.uk/ (anonymous function)

    Off the top of my head, I’m not sure how to fix this one. Normally, you check that jQuery is loaded before the plugin and it seems to be.

    Your jQuery is version 1.7.1. That’s what I’ve got running at TYPO3Vagabond.com and elsewhere.

    The testimonials code otherwise looks fine regards to css, html and javascript. Therefore, I’m stumped at this point and don’t have time till later to try and resolve.

    In the testimonials-widget.php (located in the plugins->testimonials-widget directory ) Find the following line of code

    <script type="text/javascript">
    			function nextTestimonial$widget_number() {
    				if (!jQuery('.$id_base').first().hasClass('hovered'))

    you want to change the .first() method to .eq(0)

    <script type="text/javascript">
    			function nextTestimonial$widget_number() {
    				if (!jQuery('.$id_base').eq(0).hasClass('hovered'))

    It works on some themes, and some it does not as I have one clients website that works with .first() and others that need the .eq(0) . Also make sure you have loaded JQuery in your header correctly.

    Plugin Author Michael Cannon

    @comprock

    Thank you for the eq() vs first() idea. How do the two differ?

    The real problem around first() comes from there being two different version of loaded. I think that’s a bigger problem than testimonials not working.

    Thoughts?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Testimonials Widget] Not rotating through posts at all’ is closed to new replies.
Skip to toolbar