• Resolved Altaf Hussain Patel

    (@altafhpatel)


    Currently i am working on a theme my code look like this

    
    function faltoo_enqueue_scripts(){
       wp_deregister_script('jquery');
       wp_enqueue_script('jquery', get_stylesheet_directory_uri().'/inc/jquery/jquery.js', array(), null, true);
    //other scripts like bootstrap js
    }
    add_action('wp_enqueue_scripts','faltoo_enqueue_scripts');
    

    everything is working fine excepts the slider it says jQuery not defined. Other things like drop downs and custom JS working without any error.

    • I observe the slider jquery loads before the jquery loads in footer.
    • when i try to load the jquery in header slider work but no in proper manner.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slider jQuery load before footer (it must be in end)’ is closed to new replies.