Linux 软件免费装

OS Adder

开发者 trauben-nuss
更新时间 2015年11月19日 18:40
PHP版本: 3.0.1 及以上
WordPress版本: 4.3.1
版权: GPLv2
版权网址: 版权信息

标签

body Css Class add Class Operating System determine OS OS-Hacks

下载

详情介绍:

This plugin adds a abbreviation of the operating system (win, mac, linux, iPad, iPhone) to the body-tag. So if there's a OS-specific difference, you can easily react to it by using the css-selector (e.g. ".mac"). Next steps of this plugin:

安装:

  1. Upload OS Adder to the /wp-content/plugins/ directory or access it via the wordpress plugin site
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. You're done.

屏幕截图:

  • added Class

常见问题:

Does the added Class also tell me if it's a 32 or 64 bit OS?

No, it's just "win", "mac", "linux", iPad, iPod, iPhone or "os-unknown". When it's a "Linux armv7l"-machine, the plugin outputs "android".

更新日志:

0.2 0.1