Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

JavaScript AutoLoader

Load JavaScript files without changing files in the theme directory or installing several plugins to add all the desired functionality

This Plugin allows you to load additional JavaScript files without the need to change files in the theme directory or to install several plugins to add all the desired functionality.

See also Plugin Homepage

To load additional JavaScript files just put them into a directory named 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

Only files with extension .js are added, all other files are ignored. Subdirectories can be used and will also be scanned. To ignore a complete directory (including all subdirectories) name the directory beginning with an underscore (_). The files are added in alphabetical order. Directories always are added after files.

To load one ore more JavaScript files at the end of your HTML file just place them into a directory named footer. To add the files to the footer of your theme it is required to call wp_footer() in your footer.php.

Translations

The JavaScript AutoLoader Plugin uses GlotPress - the wordpress.org Translation System - for translations. Translations can be submitted at translate.wordpress.org.

Translation are highly appreciated. It would be great if you'd support the JavaScript AutoLoader Plugin by adding a new translation or keeping an existing one up to date. If you're new to GlotPress take a look at the Translator Handbook.

Do you like the JavaScript AutoLoader Plugin?

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.

More plugins from Peter

Author Peter's Plugins, smartware.cc
Profile
Contributors petersplugins, smartware.cc
Tags autoload, footer, header, javascript, jquery, load, wp_enqueue_script
  1. javascript-autoloader screenshot 1

    Go to 'Tools' -> 'JS AutoLoader' in your WordPress dashboard to see the possible paths where to store your JavaScript files and the currently loaded files

From your WordPress dashboard

  1. Visit 'Plugins' -> 'Add New'
  2. Search for 'JavaScript AutoLoader'
  3. Activate the plugin through the 'Plugins' menu in WordPress

Manually from wordpress.org

  1. Download JavaScript AutoLoader from wordpress.org and unzip the archive
  2. Upload the javascript-autoloader folder to your /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress

1.4 (2016-10-06)

  • some code redesign, no functional changes

1.3 (2016-04-20)

  • translation files removed, using GlotPress exclusively
  • standardization

1.2 (2015-03-11)

  • Spanish translation

1.1 (2014-11-08)

  • Technical Improvements
  • WP 4.0 Style
  • German translation

1.0 (2013-09-13)

  • Initial Release
Share  
Download
Version 1.4

Requires WordPress version: 2.6 or higher

Compatible up to: 4.7.2

Last Updated 07 Dec 2016

Date Added: 13 Sep 2013

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

5 stars
5 ratings
4,156 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0