[wordpress插件] CSS AutoLoaderCSS自动加载器

wordpress 插件 文章 2020-04-06 01:20 495 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The CSS AutoLoader Plugin allows you to load additional CSS files without the

CSS AutoLoader插件允许您加载其他CSS文件,而无需

need to change the theme

需要更改主题

Usage

用法

To load additional stylesheets just put them into a directory named cssautoload (case-sensitive!).

要加载其他样式表,只需将其放入名为 cssautoload 的目录中(区分大小写!)。

This directory can be placed in three different locations that are loaded in the following order:

该目录可以放置在三个不同的位置,按以下顺序加载:

    • Theme independent : in the wp-content directory
    • 与主题无关:位于 wp-content 目录

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

    仅添加扩展名为.css的文件,而忽略所有其他文件。

    Also files beginning with an underscore (_) are ignored.

    此外,以下划线(_)开头的文件也将被忽略。

    CSS for different media

    用于不同媒体的CSS

    CSS allows to have different styles for different target devices.

    CSS允许针对不同的目标设备使用不同的样式。

    Files placed directly in the cssautoload directory are added with the media type ‘all’, suitable for all devices.

    直接放置在 cssautoload 目录中的文件将以“ all”媒体类型添加,适用于所有设备。

    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:

    根据官方CSS标准支持以下CSS媒体类型:

      • 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
      • 所有设备的

      • all –您不需要创建 all 目录,也可以将文件直接放入cssautoload根目录

      • 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
      • projection 用于投影的演示文稿

      • screen for screens
      • 屏幕的

      • 屏幕

      • speech for speech synthesizers
      • 语音合成器的

      • 语音

      • tty for media using a fixed-pitch character grid
      • tty 用于使用固定间距字符网格的媒体

      • tv for television-type devices
      • 电视设备的

      • 电视

      Other subdirectories in cssautoload directory are ignored.

      cssautoload 目录中的其他子目录将被忽略。

      Also subdirectories in the media subdirectories are not supported.

      另外,不支持媒体子目录中的子目录。

      Support

      支持

      Support Forum

      支持论坛

      Do you like this plugin?

      您喜欢这个插件吗?

      I spend a lot of my precious spare time to develop and maintain my free WordPress plugins.

      我花费了大量宝贵的业余时间来开发和维护我的免费WordPress插件。

      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

      插件隐私信息

下载地址
https://downloads.wordpress.org/plugin/css-autoloader.4.zip
-EOF-

AI助手支持GPT4.0