Title: Path to theme folders
Last modified: August 20, 2016

---

# Path to theme folders

 *  [gilgimech](https://wordpress.org/support/users/gilgimech/)
 * (@gilgimech)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/path-to-theme-folders/)
 * I found a plugin to load newer versions of jQuery. The plugin uses this to load
   jQuery
 *     ```
       function rw_jquery_update() {
       	if (!is_admin()) {
       		wp_deregister_script('jquery');
       		wp_register_script('jquery', plugins_url('/js/jquery-1.6.2rc1.js', __FILE__), false, '1.6.1.1.1');
       		wp_enqueue_script('jquery');
       	}
       }
   
       add_action('init', 'rw_jquery_update');
       ```
   
 * I want to use something like this bit of code, but I want to reference folders
   in my theme instead of the plugins folder. I’ve been searching around and can’t
   figure out how. I’ve tried using bloginfo(‘template_directory’) and bloginfo(‘
   template_url’), but I can’t get it to work.

The topic ‘Path to theme folders’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [gilgimech](https://wordpress.org/support/users/gilgimech/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/path-to-theme-folders/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
