Free WordPress Plugins

wp_js_autoload_pluginFree WordPress JavaScript AutoLoader Plugin

This WordPress Plugin allows you to load additional JavaScript files without the need to change theme files or to add a lot of plugins.

Sofware Info
Software TypeWordPress Plugin
Current Version1.0
Last Change2013-09-13

Free WordPress Plugin to add JavaScript files automated to HTML header or footer.

[adrotate banner="1"]This WordPress Plugin allows you to load additional JavaScript files without the need to change theme files. This is especially useful when e.g. using a purchased premium theme. Also you do not have to install a lot of pluigns that supply the needed functionality.

To load additional JavaScript files just put them into a directory namend jsautoload. This directory can be placed in three different locations that are loaded in the following order:

  • Child Theme dependent (if using a Child Theme) : in the Child Theme’s directory
  • Theme dependent : in the Theme’s directory
  • Theme independent : in the wp-content directory

You can use as many subdirectories as you like. Only files with extension .js are added, all other files are ignored. To ignore a complete directory (including all subdirectories) name the directory beginning with an underscore (_). The files are added in alphabetical order, so you can define the sequence of loading by the file names. Directories allway are added after files (e.g. zzz.js ist loaded before aaa/whatever.js, not after).

In most cases JavaScript files are loaded in the <head> section. If you want to load one ore more JavaScript files at the end of your HTML file just place them into a directory named footer. The footer directory can be placed in any subdirectory. Also JavaScript files in subdirectories of footer directory will be loaded in the footer. To add the files to the footer of your Theme it is required to call wp_footer() in your footer.php.

Example of loading order

in header


in footer



Admin ScreenIn the WordPress Admin Menu under Plugins you’ll find the item JS AutoLoader. Here the paths where you can store the JavaScript files are displayed. Also the currently loaded JavaScript files are listed. There are no options to configure.


Demo is available at


The WordPress JavaScript AutoLoader Plugin can be downloaded from WordPress Plugin Directory.

Share Button

Do you like my work?

Thanks, I appreciate that. You don’t need to make a donation. No money, no beer, no coffee. Please, just tell the world that you like what I’m doing! And that’s all.

Changelog for wp-js-autloader

wp_js_autoload_pluginwp-js-autloader2013-09-13wp-js-autoloader version 1.0 releasedmore...

I'm not a native english speaker but I write here in english to make this accessible to a wide range of readers although my english is not the best. If yours is better and you have any suggested improvements I would appreciate if you let me know.

Go to top