
內容簡介
透過這個短碼,您可以在 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:代表要顯示的瀏覽器版本。如下例,您將會顯示目前版本、上一個版本和兩個下一個版本。
外掛標籤
開發者團隊
原文外掛簡介
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.
