plugin-icon

Smart JavaScript Auto Loader

Load JavaScript files without coding
評價
5/5
版本
5.0.3
活躍安裝總數
400
最近更新:
Apr 17, 2024

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

淘汰不用的外掛

這個外掛的開發、維護及技術支援已於 2023 年 10 月全面結束。如果這個外掛符合你的需求,你可以繼續使用。

這個外掛不會有後續更新,我也不會回覆任何技術支援問題,感謝大家的體諒。

歡迎對這個外掛進行分支開發。

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
免費使用Business方案
目前已測試版本
WordPress 6.3.7
此外掛程式已可供下載,並可用於你 系統。