Load CSS files without coding
The Smart CSS Auto Loader Plugin allows you to load additional CSS files without the need to change the theme
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.
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:
wp-content
directoryOnly files with extension .css are added, all other files are ignored. Also files beginning with an underscore (_) are ignored.
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:
all
for all devices – you don’t need to create the all
directory, you also can put the files directly into the cssautoload root directorybraille
for braille tactile feedback devicesembossed
for paged braille printershandheld
for handheld devicesprint
for printouts or print preview on screenprojection
for projected presentationsscreen
for screensspeech
for speech synthesizerstty
for media using a fixed-pitch character gridtv
for television-type devicesOther subdirectories in cssautoload
directory are ignored. Also subdirectories in the media subdirectories are not supported.