Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Smart CSS Auto Loader

Descripción

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

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 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

Sólo se añaden los archivos con la extensión .css, todos los demás son ignorados. Los archivos que comienzan un guión bajo (_) también son ignorados.

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 para presentaciones proyectadas
  • screen para pantallas
  • speech para sintetizadores de voz
  • tty for media using a fixed-pitch character grid
  • tv para dispositivos tipo televisor

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

Reseñas

4 de noviembre de 2017
We actually avoid using plugins as much as possible, so there are only a handful of plugins we install on every site. This is one of them – easy and flawless! Thank you!
23 de febrero de 2017
Keep your HTML code clean with this plugin!!! Most plugin/theme with css customisation I tested add css code directly in your html code, which is a bad code / seo practice. The other option so far was to modify the theme css. However, this practice would lead in issues when updating theme in new versions. CSS Autoloader allows developers to add external css file(s) WITHOUT modifying the selected theme. 2 steps configuration : 1. Create a folder «cssautoload» in your theme folder. 2. Save your css file in the cssautoload folder And that’s it!!!! Result : it adds a tag in the head structure, such as : <link rel=’stylesheet’ id=’cssautoloader-a0681b9a98d7141bfe2716ded5c96bd9-css’ href=’http://www.[mysite]/wp-content/themes/sage/cssautoload/[mystylesheet.css]?ver=1487868463′ type=’text/css’ media=’all’ /> Bottomline, this plugin is efficient and simple, I love it!!!! New feature suggestions : have a folder structure to load specific css files per post types and categories
19 de febrero de 2017
Although my theme features an «extra CSS» functionality, I prefer the AutoLoader because it loads a common CSS file instead of pasting the custom CSS into every page. Not to speak that I am able to distinguish between general-purpose and theme-dependent styles. Good job.
10 de octubre de 2016
Does what it says without effort
Leer todas las 6 reseñas

Colaboradores y desarrolladores

«Smart CSS Auto Loader» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Smart CSS Auto Loader» está traducido en 5 idiomas. Gracias a los traductores por sus contribuciones.

Traduce «Smart CSS Auto Loader» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

5.0.3 (2024-04-17) URGENT BUGFIX

  • Bugfix after Cleanup

5.0.2 (2024-04-16) CLEANUP

  • Cleanup

5.0.1 (2022-10-01) FINAL VERSION

  • removed all links to webiste
  • removed request for rating

5.0.0 (2022-08-08)

  • rewritten using my Plugin Foundation PPF08
  • renamed from CSS AutoLoader to Smart CSS Auto Loader
  • sin cambios funcionales

4 (2019-03-08)

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

3 (2018-05-25)

  • minor code- & UI-improvements

2.3 (2017-11-16)

  • faulty display in WP 4.9 fixed

2.2 (2017-10-11)

  • bug fix: short open tag patched

2.1 (2017-07-10)

  • add trailing slash to all paths

2.0 (2017-06-14)

  • redesigned admin interface
  • code improvement

1.2 (2016-10-09)

  • cambio de traducciones a GlotPress
  • rediseño de código
  • sin cambios funcionales

1.1 (2015-12-15)

  • Added Language Pack Support for translations

1.0 (2015-09-28)

  • Lanzamiento inicial