WP Manifestindependent plugin directory
manifest / content / caniuse-shortcode

Can I Use? Shortcode WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

A shortcode to display the "Can I Use?" widget data

★ 48stars
0.0.5latest · 9 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/norcross/caniuse-shortcode/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Contributors: norcross

Website Link: https://github.com/norcross/caniuse-shortcode

Donate link: https://andrewnorcross.com/donate

Tags: HTML5, CSS3, web standards, browser support

Requires at least: 4.0

Tested up to: 4.7

Stable tag: 0.0.5

License: MIT

License URI: http://opensource.org/licenses/mit-license.php

Allows a user to display the "Can I Use?" data about a specific browser item

Description

Allows a user to display the "Can I Use?" data about a specific browser item. Use the provided shortcode along with the specific feature you want to display.

Inspiration and CSS from Andi Smith

Installation

This section describes how to install the plugin and get it working.

  1. Upload caniuse-shortcode to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Use the shortcode in a post with the feature
  4. Enjoy!

Frequently Asked Questions

What's this all about?

Chris Coyier mentioned it. I needed something to distract me for a few hours. So here we are.

How do I use the shortcode?

Place the following code in your post or page [caniuse feature="FEATURE-NAME-HERE"]

Can I customize it?

Yeah. There are filters and whatnot that I'll eventually get around to documenting.

Screenshots

1. Example display of data

Example display of data

2. Example of shortcode

Example of shortcode

Changelog

0.0.5

  • Refactored data array parsing to fix inconsistent return values.
  • Set data source URL as a constant.
  • Switched Opera Mobile to Opera Mini to match the caniuse site display.

0.0.4

  • Including directory constant in file includes.

0.0.3

  • Fixing link back to caniuse.com to include correct feature.
  • A bunch of code cleanup.

0.0.2

  • Fixed CSS bug with assigning icons to class.

0.0.1

  • First release!

Upgrade Notice

Releases

5 releases.

Tag
Published
0.0.5 latest
May 23, 2017 9 years ago
Mar 11, 2017 9 years ago
Mar 5, 2017 9 years ago
Mar 16, 2016 10 years ago
Mar 16, 2016 10 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Can I Use? Shortcode 0.0.5 · audited by WP Registry

No security issues found.

Audited release
0.0.5
Findings
none
Worst severity
—
Content hash
ed19736ded7ea92b61a8c89c…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.