该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Embed Can I Use

描述

Add Can I Use support tables to your WordPress web site thanks to this shortcode.
[ciu_embed].
This plugin uses the embed system created by http://caniuse.bitsofco.de/ by inserting a JavaScript file into your blog posts. This JavaScript file is inserted only if you current post uses this shortcode and will add a dynamic responsive iframe into your post.

Basic Usage

[ciu_embed feature="css-hyphens" periods="-1,current,+1,+2"]

How to use attributes for this shortcode?

  • feature: simply take the words in Can I Use URI placed just after #feat=. Example with http://caniuse.com/#feat=audio, the value of feature is audio
  • periods: represents browsers generations to display. In the example below, you will display the current version, the previous one and two next versions.

屏幕截图

安装

You can use one of both method :

Installation via your WordPress website

  1. Go to the admin menu ‘Plugins’ -> ‘Install’ and search for ‘Embed Can I Use’
  2. Click ‘install’ and activate it
  3. Use the [ciu_embed] shortcode where you need it

Manual Installation

  1. Download the plugin (it’s better :p)
  2. Unzip embed-can-i-use folder into the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Use the [ciu_embed] shortcode where you need it

常见问题

No question for the moment

评价

阅读所有2条评价

贡献者及开发者

「Embed Can I Use」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Embed Can I Use」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.0

  • The first stable version, tell me if you find something wrong.