• Resolved mikkai

    (@mikkai)


    Hi there,

    The Easing Slider is permanently in the “loading” mode and will not load pics. I’ve been reading up and down this forum and think it MAY be a case of jQuery loading twice. I have no idea HOW to check if it is loading twice and causing a conflict. Just started using WP a few weeks back, so pretty new to all this. I am using the Colorway theme. Any pointers at all would be appreciated!!

    Thanks in advance for the help!

    http://www.fancyfascinators.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • If jQuery is hardcoded into your theme files this may cause plugins that rely on jQuery to break as reloading the jQuery library a second time overwrites previously loaded jQuery plugin files.

    To avoid this you can add jQuery via your functions.php file using a built-in WordPress function. This will coordinate between all of the files that require the library to ensure that only one version is loaded. The default code below will load jQuery from the version that is packaged with the WordPress core files.

    Add the following code to functions.php:

    add_action('template_redirect','custom_theme_files');
    
    function custom_theme_files() {
        wp_enqueue_script( 'jquery' );
    }

    Hopes this helps

    Thread Starter mikkai

    (@mikkai)

    Thanks so much! I appreciate the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Easing Slider not loading..not sure how fix jQuery’ is closed to new replies.