Plugin: WCS QR Code Generator

by on May 7, 2011

This plugin is a QR Code (Quick Response) generator for mobile tagging. It allows you to create one of the ever-popular QR Code images 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, tooltip, image format (png or jpg), and error correction level … along with an option to use a shortened url. The url attribute can be utilized instead as an email address, plain text, phone number, vcard, sms, etc.

You can download this plug-in at the WordPress repository. You can also view the prototype source code explanation for this plug-in.

Leave questions, comments, and suggestions below. Thanks.

Shortcode Usage Information

Upon activation of this plug-in, you'll have access to a new shortcode that generates QR Code images. In its default usage, a QR Code is generated for the current page/post. Additionally, you can use the shortcode anywhere on a page/post or in a text widget.

Basic Usage Syntax:

    [wcs_qr_code]

Example Usage:

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

Available Attributes:

  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.

Additional References

Here's a site that DECODES a QR image to verify the data:
http://zxing.org/w/decode.jspx.

This page offers a variety of information regarding QR Codes. And, you can view specific structure details at this new website QRcodesAreCool.com.

Here are a few sites that let you download a QR Code reader for your mobile device.

Update: Product Reviews

Within the first two week's of a new plug-in's release, a network of WP news sites announce the new product. This is a great boost to web site traffic and to plug-in downloads.

Moreover, we also received our first official product review on May 18 (11 days after release). You can read it at The Furry Blog – WordPress Wednesday.

 

Share This Article: “Plugin: WCS QR Code Generator”

(Also Available: Press CTRL+D to Bookmark this Page)

Comments

Share Your Thoughts  17 Responses to “Plugin: WCS QR Code Generator”
  1. 1

    Very Innovative Plugin. Testing on my Android and Works!

  2. 2
  3. 3
    Nanny says:

    Was causing my site to crash in iPhone and iPads browsers.Has anybody else noticed this?

  4. 4
    Anand Devan says:

    How do I generate the code for people to dial a phone number? The syntax given here doesnt work.

  5. 5
    Kevan Judah says:

    With Google deprecating charts -> images, https://developers.google.com/chart/image/will you be updating this plugin to use another qr code generation script?

  6. 6

    isabel marant wedge sneakers on sale buy Isabel Marant Gold
    Bird Metallic Leather Wedge Sneakers Shoes hPXXE Domani, Orli correva allegramente per le strade acciottolate.
    Corse in Pastisseria dic Centro, che ha venduto traballante Baleari pasta di
    zucchero a velo chiamato ensaimadas dal 1881, e più tardi, era ansioso di assaggiare il gelato di mandorle fatto in casa Gelateria Sa de Menorca.

    for men isabel marant wedge sneakers sale etoile outlet replica
    how much is isabel marant sneakers cWCMq GILBERT, AZ
    ha polizia (CBS5) Gilbert pubblicato uno schizzo di un sospetto che carjacked un Prizm Geo a Gilbert e ha finito per trascinare la vittima attraverso il complesso di appartamenti
    parcheggio lot.Gilbert portavoce della polizia sergente.

    Mercoledì. Isabel Marant Mens Sneakers for sale isabel marant wedge sneakers VGnzx
    Bush (lato dell’offerta repubblicano, deregolamentazione.) E globale Recession.For siccità
    cose, fornire le seguenti studio di Moon Lake,
    South Dakota. Gregory et al, 1997, Mearns et
    al, 2000), mentre altre simulazioni del modello e
    le recenti tendenze dieci misurazioni indicano condizioni più umide, almeno nel breve termine, a causa di una intensificazione del ciclo idrologico associati con temperature del mare più calde.
    buy Isabel Marant Gold Bird Metallic Leather Wedge Sneakers Shoes
    buy isabel marant sneakers uk fjNJz Fase 1: Fare impalcatura ScaffoldThe bel gap devo scuotere gli
    uomini di supporto peggiori vr candeline. Per rendere il patibolo, la sugerr e tintura parti sinuose.
    Isabel Marant Suede Sneakers for kids isabele marant sneakers
    kCqwB Scarpe Christian Louboutin, scarpe casual, il desiderio delle
    donne ed è una prodezza comfortHeels celebritiesBut imbottito per portata supplementare 6.5 pollici engineeringSoles speciale, ma il designer Christian Louboutin tacchi grattacielo ricercati dalle donne di tutto il mondo, e
    che è il limite di designer parigino scarpe rosse scarpe con suola ogni Jennifer Lopez canta them.But per il tipo di
    artista, ingegnere per misurare il successo riscosso dalla cultura
    popolare. Talon è una tecnica di per sé, chiamato studio del progettista Parigi.

    where to buy isabel marant sneakers wholesale where to buy real isabel marant
    sneakers RHytR Era una struttura in lontananza,
    una casa, o forse un vecchio fienile. Ho potuto vedere c’era
    un recinto intorno alla struttura, ma nessun segno di vita può essere visto.
    Isabel Marant Bobby Suede Sneakers Taupe Isabel Marant
    Outlet Online nrMiV Bene, ora noto anche come scarpe da sera fascite plantare per i marchi che vengono
    con una qualità c’è ragione di disperare. Ecco le migliori scarpe
    da sera per la fascite plantare alcune informazioni per
    acquistare.. isabel marant sales authentic isabel
    marant sneakers online store bquOr Non sto dicendo che la vacanza Countrywide giorno al mattino
    è una vasta gamma di prodotti per il pomeriggio, il negozio ha acquistato bianco business rapidamente andare in tasca e trova ampi rivenditori di approvvigionamento compatto, comprato diverse paia.

    Poi ha comprato una cintura, guanti, cappelli di pelliccia, ecc e poi sento come una giacca di
    pelle i capelli del coniglio di Rex e sembrano essere abbastanza buona, e prese la decisione di dare la sua figlia ha
    comprato anche una persona..

Trackbacks

Check out what others are saying about this post...
  1. [...] ThemesShortcode Fundamentals (Part 2)Shortcode Fundamentals (Part 3)Three Videos for DevelopersPlugin: WCS QR Code GeneratorEasy WordPress Plugin Development (Part 1) jQuery(function(){ jQuery("#wcs_jquery_vTicker").vTicker [...]

  2. [...] (Part 2)Easy Social Sharing Links with WordPressEasy WordPress Plugin Development (Part 1)Plugin: WCS QR Code GeneratorHow To Expand Your Blog’s Typeface ChoicesThree Videos for DevelopersTips for Browser [...]

  3. [...] WCS QR Code Generator 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. [...]

  4. [...] Plugin: WCS QR Code Generator | WP Code Snippets (tags: wordpress plugins qrcode) [...]

  5. [...] QR Code images anywhere on a page/post wpcodesnippets.info/blog/wcs-qr-code-generator.html – besuchen WebcodingEasy.com – PHP classes (QR code– Here is a QR code generator class in PHP [...]

  6. [...] QR Code images anywhere on a page/post wpcodesnippets.info/blog/wcs-qr-code-generator.html – besuchen Generador CODIGOS QR. QR Code Generator |– Qr code generator. Generador gratuito de [...]

  7. [...] QR Code Generator – WCS QR Code Generator is a QR Code (Quick Response) generator for mobile tagging. It allows you to create one of the [...]



Share Your Thoughts

(Some editor features are restricted unless you're logged in.)

(When replying to a specific comment, your browser may require Shift+Enter instead of just Enter.)


(get a gravatar)


Notify me of followup comments via e-mail. You can also subscribe without commenting.