Smart CSS Auto Loader

0

The Smart CSS Auto Loader Plugin (formerly CSS AutoLoader) allows you to load additional CSS files without the need to change the theme Usage To load additional stylesheets just put the

Version
Last updated
Active installations
WordPress Version
Tested up to
PHP Version
pa_languages
Rating
Total ratings
Tags

Description

The Smart CSS Auto Loader Plugin (formerly CSS AutoLoader) allows you to load additional CSS files without the need to change the theme

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-content directory
  • 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:

  • all for all devices – you don’t need to create the all directory, you also can put the files directly into the cssautoload root directory
  • braille for braille tactile feedback devices
  • embossed for paged braille printers
  • handheld for handheld devices
  • print for printouts or print preview on screen
  • projection for projected presentations
  • screen for screens
  • speech for speech synthesizers
  • tty for media using a fixed-pitch character grid
  • tv for television-type devices

Other subdirectories in cssautoload directory are ignored. Also subdirectories in the media subdirectories are not supported.

Support

Support Forum

Do you like this plugin?

I spend some of my precious free time developing and maintaining my free WordPress plugins. You don’t need to make a donation. No money, no beer, no coffee. If you like this plugin then please do me a favor and give it a good rating. Thanks.

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

Peters’ Plugins Privacy Information Page

ClassicPress

This plugin is compatible with ClassicPress.

More plugins from Peter

  • JavaScript AutoLoader – Load JavaScript files without changing files in the theme directory or installing several plugins to add all the desired functionality
  • hashtagger – Use #hashtags and @usernames in your posts
  • 404page – Define any of your WordPress pages as 404 error page
  • See all