1. Size and Margin

The QR Code symbol area requires a margin or "quiet zone" around it to be used. The margin is a clear area around a symbol where nothing is printed. QR Code requires at least a four QR Code pixel wide margin at all sides of a symbol.

If you manually set the image size of your QR Code it may happen (based on content capacity) that the encoded image is "pixel blurry" (the size of one QR Code pixel varies) and thus is hard to read for your reading device. This generally happens if your QR Code image size is very small (smaller than 100 pixels). In order to print out a "Best Read Mode" image, use the size field to specify a "Zoom" level (0-9, with 0=no zoom, 1=100%, 2=200%, etc. ) for an optimal QR Code image size of your content.

2. Shortcode usage

In the posts editor type

[qrcodetag_from_goaskle_com/] and a QR code with a link to the current URL will be rendered
[qrcodetag_from_goaskle_com]content[/qrcodetag_from_goaskle_com] to render a QR code with content

You can overwrite any default value passing it as a parameter in the shortcode, e.g.
[qrcodetag_from_goaskle_com size="150" link="true"]content[/qrcodetag_from_goaskle_com] will render a QR code with a dimension of 150px and sets a link to the QR code image.

In order to use the tooltip function, type this code

[qrcodetag_from_goaskle_com tooltip="QR Code content"]your link or text[/qrcodetag_from_goaskle_com]

whereas QR Code content is the QR Code image content and your link or text is the visible text - mind the difference to the previous usage!

3. PHP Function usage

To use the QR Code Tag inside your template or PHP enabled posts, use the global $qrcodetag_from_goaskle_com object:

global $qrcodetag_from_goaskle_com;
echo $qrcodetag_from_goaskle_com->getQrCodeUrl($content, $size, $encoding, $ecc, $margin, $version);

In order to display a 100 x 100px QR Code in the page template you would include this PHP code:

<img src="<?php 
  global $qrcodetag_from_goaskle_com; 
  echo $qrcodetag_from_goaskle_com->getQrCodeUrl('mycontent',100,'UTF-8','L',4,0); 
?>">

4. Widget usage

In order to use the QR Code Tag as a widget, just drop it on your sidebar (Appearance | Widgets) and set the options accordingly.

5. Known Problems

- self closing tag problem (see shortcode warning)
- mixed tag problem (see shortcode warning)
- empty tag problem (see shortcode warning)
- incorrect margin size (with Google API only)

6. Useful Links

Create Support Ticket - Ask any question about this QR Code plugin
Plugin Page

7. Translations

Translations for this plugin are welcome! Download Poedit and send the translation files (*.po & *.mo, including this html help file) back to me. Thanks!

WordPress / Woocommerce plugin pluginName.' v'.$this->pluginVersion ?> by Goaskle.com