這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

螢幕截圖

  • An example of an Embedded Can I Use table

安裝

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.