Title: [Plugin: LeagueManager] Load Script Separately
Last modified: August 19, 2016

---

# [Plugin: LeagueManager] Load Script Separately

 *  [LockeAG4](https://wordpress.org/support/users/lockeag4/)
 * (@lockeag4)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-load-script-separately/)
 * Is there a way to load jquery, stack and thickbox (‘or better change it for fancybox’)
   outside the header, well I mean in the footer??
 * I tried all in my possibilities, like
    in header:
 *     ```
       wp_deregister_script('jquery');
       wp_deregister_script('thickbox');
       wp_deregister_script('sack');
       ```
   
 * then add to function.php
 *     ```
       function my_init()
       {
       	if (!is_admin()) {
       		wp_deregister_script('jquery');
   
       		wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', false, '1.4.2', true);
       		wp_register_script('sack', get_bloginfo('url') . '/wp-includes/js/tw-sack.js', array('jquery'), '1.6.1', true);
       		wp_register_script('thickbox', get_bloginfo('url') . '/wp-includes/js/thickbox/thickbox.js', array('jquery'), '3.1', true);
       		wp_enqueue_script('jquery');
                       wp_enqueue_script('thickbox');
                       wp_enqueue_script('sack');
       }
       }
       add_action('init', 'my_init');
       ```
   
 * any idea how to make this possible?
 * thanks all

The topic ‘[Plugin: LeagueManager] Load Script Separately’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leaguemanager.svg)
 * [LeagueManager](https://wordpress.org/plugins/leaguemanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaguemanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaguemanager/)
 * [Active Topics](https://wordpress.org/support/plugin/leaguemanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaguemanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaguemanager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [LockeAG4](https://wordpress.org/support/users/lockeag4/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-leaguemanager-load-script-separately/)
 * Status: not resolved