WCS QR Code Generator Plugin

This plugin is a QR Code (Quick Response) image generator for mobile tagging.

This plugin is a QR Code (Quick Response) generator for mobile tagging. It allows you to create one of the ever-popular QR Codes anywhere on a page/post or in a text widget. A simple shortcode defaults to generating the 2d code for the current page/post.

Plus, attributes allow you to set the: size, color, url (or email, text, phone number, vcard, sms, etc.), tooltip, image format (png or jpg), and error correction level … along with an option to use a shortened url.

More details are available under Installation (above) and at Dashboard->WCS-QR-Code (after activation).

Additional Information

  • View details for this plug-in at our web site.

  • View the full source code explanation for the prototype of this plug-in. This page also includes a variety of useful information regarding QR Codes.

  • Visit our web site, wpCodeSnippets.INFO, for lots of WordPress tips, tweaks, shortcodes, and plugins.

  • This plug-in is released under the GNU General Public License (GPL2). No external services are required and there are no additional features to purchase.

Donations

Did you find this plug-in useful? A small donation will be much appreciated AND it supports our continued WordPress development efforts. Enter any amount.

Installation

Basic Plug-in Usage:

Install and activate the plug-in. Use the shortcode [wcs_qr_code] anywhere in a post/page or in a text widget to generate a QR Code image.

Standard WordPress installation procedure:

  1. Download the ZIP file to your local computer.
  2. Unzip the file’s contents.
  3. Login as an administrator to your WordPress website.
  4. Upload the wcs-qr-code-generator directory to your /wp-content/plugins/ directory.
  5. Activate the plugin through the WordPress Dashboard->Plugins menu.

Basic Shortcode Usage syntax:

[wcs_qr_code]

Example Shortcode Usage:

[wcs_qr_code url=‘now is the time’ size=‘128’ color=‘darkblue’]

Shortcode Usage Information:

  1. url is the content for the qr code image (defaults to the current page/post url) — more on this below
  2. size is square image’s size in pixels (default is ‘100’)
  3. color can be a 6-digit hex color value or an HTML color name (default is ‘black’)
  4. ecl is the error correction level (default is ‘L|4’) — more on this below
  5. shorten is a toggle for shortening the url (default is ‘false’)
  6. format is the image format (PNG or JPG) (default is ‘png’)
  7. tooltip is the image’s tooltip text (default is none)

ECL Details:

This plug-in utilizes the Google Charts API. You can view the various ECL settings here.

Essentially, the ECL code consists of two components: (1) the error correction level (L, M, Q, or H), and (2) the white border row/column width (1 – 40 rows, not pixels).

URL Details:

If omitted, the URL defaults to the current page/post url. You can also use any valid url or text (within the character limitation of the selected ECL attribute value).

When using an email address, a standard format is expected. For example me@here.com should be implemented as mailto:me@here.com.

Telephone numbers also have a standardized format. For example, 212-555-1212 should be implemented as tel:+12125551212.

An SMS link is encoded in a fashion similar to an email address. For example, a link to the number 12345 should be implemented as sms:12345.

These and many other possibilities are explained in detail here.

Screenshots

  1. This is a screen shot of a portion of the Dashboard information page added by this plug-in.

    This is a screen shot of a portion of the Dashboard information page added by this plug-in.

FAQ

Will this plug-in work on multi-sites?

Yes. Just use Network Activate. Visit your Dashboard. Click Network Admin at the top right. Click Plugins in the sidebar menu. Locate WCS QR Code Generator in the list. Then, click Network Activate.

Where can I get a QR Code reader?

  1. online decoder — for verification of image data
  2. i-nigma.mobi
  3. kaywa.com
  4. neoreader.com
  5. quickmark.com.tw

Other questions?

Leave questions, comments, and suggestions at our web site’s plug-in landing page.

What languages are available?

Currently, only English is available. Future updates may include additional languages (for the Dashboard information page).

Can I help?

Sure! We’re in regular need of testers. We have several plug-in prototypes under development at our website. In addition, we could always use help with translations for internationalization.

Visit our website: wpCodeSnippets.INFO.

Changelog

1.0

  • 2011-05-09
  • official public plugin release

0.9.0

  • 2011-02-19 (cut/paste prototype functions)
  • prototype release

Details

  • Version: 1.0
  • Active installations: 80
  • WordPress Version: 2.9.0
  • Tested up to: 3.1.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars