[wordpress插件] Conditional Stylesheets and Body Classes条件样式表和正文类

wordpress 插件 文章 2020-03-11 23:30 505 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Easily include browser specific stylesheets in templates or select browser and version specific classes in CSS.

轻松在模板中包含特定于浏览器的样式表,或在CSS中选择特定于浏览器和版本的类。

Conditional browser stylesheets are added after the main theme style.css allowing them to overrule previous rules – you only need to add the CSS rules that should change.

有条件的浏览器样式表是在主主题style.css之后添加的,从而使它们可以取代以前的规则-您只需要添加应更改的CSS规则。

This plugin uses up-to-date WordPress top level functions, sanitizes all input data and is fully internationalized.

此插件使用最新的WordPress顶级功能,对所有输入数据进行清理并完全国际化。

For feature request and bug reports, please use the Q Support Website<

对于功能请求和错误报告,请使用Q支持网站<

/a>.

/ a>。

Please do not use the WordPress.org forum to report bugs, as we no longer monitor or respond to questions there.

请不要使用WordPress.org论坛报告错误,因为我们不再在那里监视或回答问题。

Features

功能

    • Checks for and adds browser and version specific stylesheets – such as “browsers-windows-firefox.css”.
    • 检查并添加特定于浏览器和版本的样式表,例如“ browsers-windows-firefox.css”。

    • Add browser and version specific body classes to all pages – such as body.browsers-msie-10
    • 将浏览器和特定于版本的正文类添加到所有页面,例如body.browsers-msie-10

    • Includes the Mobile Detect class and adds mobile & touch body classes.
    • 包括“移动检测”类并添加移动和触摸式身体类。

    • Adds a post type body class, for example: “posttype-page”.
    • 添加帖子类型的正文类,例如:“ posttype-page”。

    • Inserts handy HTML comments in the HTML footer of template files to tell you which CSS files could be used and which were found.
    • 在模板文件的HTML页脚中插入方便的HTML注释,以告诉您可以使用哪些CSS文件以及找到了哪些CSS文件。

安装步骤

For an automatic installation through WordPress:

通过WordPress自动安装:

    1. Go to the ‘Add New’ plugins screen in your WordPress admin area
    2. 转到WordPress管理区域中的“添加新插件”屏幕

    3. Search for ‘Browsers’
    4. 搜索“浏览器”

    5. Click ‘Install Now’ and activate the plugin
    6. 点击“立即安装”并激活插件

    For a manual installation via FTP:

    对于通过FTP进行手动安装:

      1. Upload the browsers directory to the /wp-content/plugins/ directory
      2. 浏览器目录上载到 / wp-content / plugins / 目录

      3. Activate the plugin through the ‘Plugins’ screen in your WordPress admin area
      4. 通过WordPress管理区域中的“插件”屏幕激活插件

      To upload the plugin through WordPress, instead of FTP:

      要通过WordPress而不是FTP上传插件,

        1. Upload the downloaded zip file on the ‘Add New’ plugins screen (see the ‘Upload’ tab) in your WordPress admin area and activate.
        2. 在WordPress管理区域的“添加新”插件屏幕(请参见“上传”标签)上上传下载的zip文件并激活。

下载地址
https://downloads.wordpress.org/plugin/browsers.0.4.7.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Backlink Checker SEO反向链接检查器SEO
[wordpress插件] Content Mirror内容镜
[wordpress插件] Custom Featured Image Metabox自定义精选图片元框
[wordpress插件] BuddyPress IdenticonsBuddyPress标识图标
[wordpress插件] Archive Cloud Widget存档云小部件
随便看看
有哪位大佬知道为什么我已经从后台获取到了数据,但是为什么无法显示到页面上吗? 654
渲染错误,跪求解答,新人小白? 323
小程序代码被拷走,改了样式就上线了,能举报封了他们吗? 310
setData后的数据与页面展示的数据不一样是怎么回事? 341
小程序调起支付分小程序系统繁忙 586
移动应用迁移问题,在迁移后unionid改变了会不会造成什么影响? 382
小程序里有一个打车功能,想点击跳转到滴滴出行小程序,没有对方appid,请问如何实现,有大佬知道吗? 586
有人能开发一个身份证文字信息快速提取的小程序吗? 318
企业官网被封禁了http://www.bjdet.com/ 316
‘慧花钱商户版’ 微信小程序搜索不到,着急解决麻烦了 391