Skip to content

Hassle-free jQuery and its plugins asynchronous loader for Wordpress!

License

Notifications You must be signed in to change notification settings

vrizo/wordpress-jquery-async-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress jQuery & plugins Async Loader

This plugin asynchronously loads jQuery and its plugins without "jQuery is undefined" errors.

Loading of JavaScript resources should be done asynchronously, in a non-blocking manner, so the load time of your webpage will not be affected (it would not be delayed by render-blocking JavaScript). But using of deferring or async loading of jQuery causes lots of problems with jQuery plugins. This plugin replaces default Wordpress's JS loader with a special jQuery loader (jQl), that's why there are no any errors with jQuery plugins. Maintained by me.

It's highly recommended to use any concatenate plugin, e.g., Fast Velocity Minify or WP Fastest Cache. Please, do not add jQuery to the ignore list, because this plugin fixes jQuery is undefined errors on the console log. Also, it is allowed to use defer or async parsing of JS files.

It requires Wordpress 4.1 and newer.

It is available in English 🇬🇧/🇺🇸 and Russian 🇷🇺.

Wordpress Plugin Directory

  • Not yet.

How to use

  1. Install the plugin using FTP or Wordpress Dashboard.
  2. Activate it.
  3. Optionally you can disable jQuery CDN replacing on Settings → jQuery Async Loader page.

How it works?

  1. The plugin loads small JavaScript code in the header. This is jQl developed by Cédric Morin (jQuery async loader);
  2. Then it loads minified jQuery from Google CDN (optional, you can disable it on settings page);
  3. And finally, it replaces all <script> tags with a special function.

Screenshot

jQuery Async Loader Settings Page

Having any troubles or ideas?

Please contact me by email.

Changelog

v. 1.1

  • Added admin pages processing option
  • Russian translation

v. 1.0

  • Initial release

About

Hassle-free jQuery and its plugins asynchronous loader for Wordpress!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages