このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Smart JavaScript Auto Loader

説明

The Smart JavaScript Auto Loader Plugin allows you to load additional JavaScript files without the need to change files in the theme directory

Retired Plugin

Development, maintenance and support of this plugin has been retired in october 2023. You can use this plugin as long as is works for you.

There will be no more updates and I won’t answer any support questions. Thanks for your understanding.

Feel free to fork this plugin.

Usage

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.

Plugin Privacy Information

  • This plugin does not set cookies
  • This plugin does not collect or store any data
  • This plugin does not send any data to external servers

評価

2017年4月15日
I needed to inject some js into each page on the website. This plugin works perfectly. You just create a folder, ftp the javascript into the folder and that’s all. Works 100% with no fuss or bother.
8件のレビューをすべて表示

貢献者と開発者

Smart JavaScript Auto Loader はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Smart JavaScript Auto Loader” は5ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Smart JavaScript Auto Loader” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

5.0.3 (2024-04-17) URGENT BUGFIX

  • Bugfix after Cleanup

5.0.2 (2024-04-16) CLEANUP

  • Cleanup

5.0.1 (2023-10-01) FINAL VERSION

  • removed all links to webiste
  • removed request for rating

5.0.0 (2022-09-11)

  • rewritten using my Plugin Foundation PPF08
  • renamed from JavaScript AutoLoader to Smart JavaScript Auto Loader
  • no functional changes

4 (2019-03-09)

  • moved from Tools to Appearance menu because rightly it belongs there
  • UI improvements
  • code improvement

3 (2018-05-28)

  • minor code- & UI-improvements

2.2 (2017-11-16)

  • faulty display in WP 4.9 fixed

2.1 (2017-07-10)

  • add trailing slash to all paths (see this topic)

2.0 (2017-06-14)

  • redesigned admin interface
  • code improvement

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