Blog

These articles are in reference to our original plugin, SlideDeck 1 PRO. If you are searching for articles related to our SlideDeck 2 WordPress Plugin, please check the blog category for SlideDeck 2 or search our Knowledge Base.
wp_enqueue_script

How-To Video: Troubleshooting jQuery Loading Twice & SlideDeck

On December 10, 201012 Comments

One of the main issues that our WordPress uses run into is a “broken” SlideDeck due to jQuery being loaded twice. Even though it’s a simple fix, it’s not easy for everyone so we created this short screencast showing the problem, symptoms and the solution to the issue.

As always, your feedback is key so be sure to leave some thoughts in the comments section below. We are always working to make SlideDeck a better product and we can’t do that without your feedback.

Comments (12) Responses

  1.  

    kjohnson

    and by the way, i have no jquery stylesheets on my site.

  2.  

    kjohnson

    i have tried the enqueue, footer and header options and it still tiles the slider on the main page. i really need some pointers. youtube has nothing to offer at the moment and i really need to get this up.

  3.  

    jeuxdotnet

    It sounds like it’s not being enqueued correctly. Please post a message on GetSatisfaction detailing what you’re experience along with a link to your SlideDeck, and we’ll take a look at it.

    Thanks!

  4.  

    John

    when I add wp_enqueue_script (‘jquery’); to my wordpress functions.php file per the instructions in your video it crashes the site. What else do I need to look for?

    •  

      Angela

      Hello John,

      It sounds like it’s not being enqueued correctly. Please post a message on GetSatisfaction detailing what you’re experience along with a link to your SlideDeck, and we’ll take a look at it.

      Thanks!

  5.  

    Khaled

    Another good tricks is…
    replace your jquery library link in header with “/wp-includes/js/jquery/jquery.js?ver=1.4.4”

    I replaced “http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js” with “/wp-includes/js/jquery/jquery.js?ver=1.4.4” .. Double loading issue got fixed 🙂

    BTW, many of you may find wp_enqueue_script() better option than this.

    Thanks,
    Khaled

    •  

      Melvin Chuleria

      Can you help me out ? im having trouble fixing that. im using inove theme, Header.php it does not look in the video. email me so I can send you the file and you take at look at it. thanks

  6.  

    Shawn

    Hi,

    I appreciate all the effort you guys put into this plug=in and all the support. But for the life of me, I can’t get either images or videos to load. I checked my header. I checked my footer. I’ve embedded video and used youtube shortcode. I’ve attached featured images and shortcode thumbnails. Nothing works. I just get blank slides.

    Any thoughts would be greatly appreciated!

    Best wishes,
    Shawn

    •  

      Jamie

      Hi Shawn,
      It sounds like this could be a simple issue to fix. Head on over to our support forum and create a new thread with info such as your WordPress version, plugins, etc. I’m most interested in knowing which plugin you’re using for the YouTube video as not all plugin’s shortcodes work within other plugins.

      Post a thread and we will do our very best to help you get up and running.