Skildring
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 offeature
isaudio
periods
: represents browsers generations to display. In the example below, you will display the current version, the previous one and two next versions.
Installasjon
You can use one of both method :
Installation via your WordPress website
- Go to the admin menu «Plugins» -> «Install» and search for «Embed Can I Use»
- Click «install» and activate it
- Use the
[ciu_embed]
shortcode where you need it
Manual Installation
- Download the plugin (it’s better :p)
- Unzip
embed-can-i-use
folder into the/wp-content/plugins/
directory - Activate the plugin through the «Plugins» menu in WordPress
- Use the
[ciu_embed]
shortcode where you need it
Vanlege spm.
-
No question for the moment
Bidragsytarar og utviklarar
“Embed Can I Use” is open source software. The following people have contributed to this plugin.
ContributorsOmset “Embed Can I Use” til ditt eige språk.
Interested in development?
Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.
Endringslogg
1.0.0
- The first stable version, tell me if you find something wrong.