Title: Installing Mootools within WordPress
Last modified: August 19, 2016

---

# Installing Mootools within WordPress

 *  [end](https://wordpress.org/support/users/end/)
 * (@end)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/installing-mootools-within-wordpress/)
 * Any tips on how to go about? I’m fairly new to the game and so far have failed.
   I install it perfectly on non-based wordpress page (playin html static page),
   yet I am unable to with wordpress?
 * Any tips?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * (@greenshady)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/installing-mootools-within-wordpress/#post-802908)
 * This is assuming you’ve added the file `mootools.js` to a folder named “js” within
   your theme.
 * Before `wp_head()` in your theme’s `header.php` file, add this:
 *     ```
       wp_enqueue_script('mootools', get_bloginfo('template_directory') .'/js/mootools.js', false, '1.1.1');
       ```
   
 * [http://codex.wordpress.org/Function_Reference/wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
 *  Thread Starter [end](https://wordpress.org/support/users/end/)
 * (@end)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/installing-mootools-within-wordpress/#post-803007)
 * Ahh, thank you! Got it up ;]
 *  [aneesuddin](https://wordpress.org/support/users/aneesuddin/)
 * (@aneesuddin)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/installing-mootools-within-wordpress/#post-803324)
 * I’m having that problem right now.
    My mootools effect works without error on
   a static version and not at all on the wordpress version even though I have enqueued
   the scripts correctly and am not running any other scripts. It doesn’t even render
   any errors. i am at a loss!
 *     ```
       <?php wp_enqueue_script('mootools', get_bloginfo('template_directory') .'/js/mootools/mootools.js' , 'false' , '1.2.0'); ?>
       <?php wp_enqueue_script('filterExpand' , get_bloginfo('template_directory') .'/js/mootools/filterExpand.js' ,  array( 'mootools' ) , '1.2.0'); ?>
       <?php wp_head(); ?>
       ```
   
 *  [llamaman](https://wordpress.org/support/users/llamaman/)
 * (@llamaman)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/installing-mootools-within-wordpress/#post-803325)
 * I am developing a MooTools accordion WordPress theme, which can be downloaded
   [here](http://www.themightymo.com/themightymoo). Perhaps looking at how that 
   theme is set up will help get you rolling.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Installing Mootools within WordPress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [llamaman](https://wordpress.org/support/users/llamaman/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/installing-mootools-within-wordpress/#post-803325)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
