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).
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.
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.
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:
- Download the ZIP file to your local computer.
- Unzip the file’s contents.
- Login as an administrator to your WordPress website.
- Upload the
wcs-qr-code-generatordirectory to your
- Activate the plugin through the WordPress Dashboard->Plugins menu.
Basic Shortcode Usage syntax:
Example Shortcode Usage:
[wcs_qr_code url=‘now is the time’ size=‘128’ color=‘darkblue’]
Shortcode Usage Information:
- url is the content for the qr code image (defaults to the current page/post url) — more on this below
- size is square image’s size in pixels (default is ‘100’)
- color can be a 6-digit hex color value or an HTML color name (default is ‘black’)
- ecl is the error correction level (default is ‘L|4’) — more on this below
- shorten is a toggle for shortening the url (default is ‘false’)
- format is the image format (PNG or JPG) (default is ‘png’)
- tooltip is the image’s tooltip text (default is none)
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).
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 firstname.lastname@example.org should be implemented as mailto:email@example.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.
Часто задаваемые вопросы
- 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?
- 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.
Нет отзывов об этом плагине.
Участники и разработчики
«WCS QR Code Generator» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:Участники
- official public plugin release
- 2011-02-19 (cut/paste prototype functions)
- prototype release