• Resolved kodjoe

    (@agenceccmg)


    Hi I would like to load all smart-slider-3 plugin files after my theme files, so I decided to move them to footer, but how can I do that and which files from smart-slider-3 I need to specify ?

    At this time I have that:

    // Custom Scripting to Move JavaScript from the Head to the Footer
    function remove_head_scripts() {
    remove_action(‘wp_head’, ‘******’);
    remove_action(‘wp_head’, ‘******’, 9);
    remove_action(‘wp_head’, ‘******’, 1);

    add_action(‘wp_footer’, ‘******’, 5);
    add_action(‘wp_footer’, ‘******’, 5);
    add_action(‘wp_footer’, ‘******’, 5);
    }
    add_action( ‘wp_enqueue_scripts’, ‘remove_head_scripts’ );

    // END Custom Scripting to Move JavaScript

Viewing 16 replies (of 16 total)
  • Thread Starter kodjoe

    (@agenceccmg)

    oh, I don’t know why I don’t receive the notification of your answer, in time, I always receive them in late !!

    Sorry I answer only now, am agree with you,so I will work on this error and all will works fine ?? even if this error is not so simple for me

Viewing 16 replies (of 16 total)
  • The topic ‘How to move smart-slider-3 js files to footer’ is closed to new replies.