Title: enque script not working
Last modified: August 20, 2016

---

# enque script not working

 *  [emaarkhan](https://wordpress.org/support/users/emaarkhan/)
 * (@emaarkhan)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/enque-script-not-working/)
 * hi, i copied wp_enqueque_script bt when i see my page soruce code, it doesn’t
   tell the url of google cdn to see if it is loaded..can anyone help me. am i missing
   something
 *     ```
       function my_scripts_method() {
         wp_deregister_script( 'jquery' );
         wp_register_script( 'jquery',    'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js');
         wp_enqueue_script( 'jquery' );
       }    
   
       add_action('wp_enqueue_scripts', 'my_scripts_method');
       ```
   

Viewing 1 replies (of 1 total)

 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/enque-script-not-working/#post-3104569)
 * Don’t register as ‘jquery’. Try ‘gjquery’ or ‘glibjquery’ instead. There seems
   to be an issue with registering using names whose first characters match WordPress
   native registrations. You can be part of my experiment. 🙂

Viewing 1 replies (of 1 total)

The topic ‘enque script not working’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/enque-script-not-working/#post-3104569)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
