[WordPress] 外掛分享: Embed Can I Use

首頁外掛目錄 › Embed Can I Use
WordPress 外掛 Embed Can I Use 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(2 則評價)
446 天前
最後更新
問題解決
WordPress 4.0+ v1.0.2 上架:2016-05-24

內容簡介

透過這個短碼,您可以在 WordPress 網站中加入 Can I Use 支援表格。
[ciu_embed]。
此外掛程式透過將一個 JavaScript 檔案插入於您的文章中,使用 http://caniuse.bitsofco.de/ 所創建的嵌入系統。當您的文章使用此短碼時,此 JavaScript 檔案才會被插入。此 JavaScript 檔案將會在您的文章中加入動態且回應式的 iframe。

基本使用方式

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

如何使用此短碼的屬性?

feature:只需在 Can I Use 網址中的 #feat= 後面取出字詞。例如,若 Can I Use 網址為 http://caniuse.com/#feat=audio,則 feature 的值為 audio
periods:代表要顯示的瀏覽器版本。如下例,您將會顯示目前版本、上一個版本和兩個下一個版本。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon