WordPress.org

Plugin Directory

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

As of version 1.3 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 smartware.cc

  • hashtagger - Use #hashtags and @usernames in your posts
  • 404page Define any of your WordPress pages as 404 error page
  • link-log - Find out where your visitors leave to. Track clicks on external links.
  • smart Archive Page Remove - Completely remove unwated Archive Pages from your Blog
  • smart User Slug Hider - Hide usernames in author pages URLs to enhance security
Tags: ,

Requires: 2.6 or higher
Compatible up to: 4.5.3
Last Updated: 3 months ago
Active Installs: 200+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,3,3