Smart CSS Auto Loader
The Smart CSS Auto Loader Plugin allows you to load additional CSS files without the need to change the theme
淘汰不用的外掛
這個外掛的開發、維護及技術支援已於 2023 年 10 月全面結束。如果這個外掛符合你的需求,你可以繼續使用。
這個外掛不會有後續更新,我也不會回覆任何技術支援問題,感謝大家的體諒。
歡迎對這個外掛進行分支開發。
Usage
To load additional stylesheets just put them into a directory named cssautoload (case-sensitive!). This directory can be placed in three different locations that are loaded in the following order:
- Theme independent : in the
wp-contentdirectory - Theme dependent : in the Theme’s directory
- Child Theme dependent (if using a Child Theme) : in the Child Theme’s directory
Only files with extension .css are added, all other files are ignored. Also files beginning with an underscore (_) are ignored.
CSS for different media
CSS allows to have different styles for different target devices. Files placed directly in the cssautoload directory are added with the media type ‘all’, suitable for all devices. To use a different media type just create a subdirectory with the name of the target media type (case-sensitive!). Te following CSS media types are supported according to the official CSS standard:
allfor all devices – you don’t need to create thealldirectory, you also can put the files directly into the cssautoload root directorybraillefor braille tactile feedback devicesembossedfor paged braille printershandheldfor handheld devicesprintfor printouts or print preview on screenprojectionfor projected presentationsscreenfor screensspeechfor speech synthesizersttyfor media using a fixed-pitch character gridtvfor television-type devices
Other subdirectories in cssautoload directory are ignored. Also subdirectories in the media subdirectories are not supported.
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