Create QR Codes with Google Charts & WP Shortcode

and like us on FB

QR codes are a popular type of two-dimensional barcode. They are also known as hardlinks or physical world hyperlinks. QR Codes store up to 4,296 alphanumeric characters of arbitrary text. This text can be anything, for example URL, contact information, a telephone number, even random text. QR codes can be read by an optical device with the appropriate software. Such devices range from dedicated QR code readers to mobile phones (if you have a barcode scanner application it’s likely it already reads QR codes).

This snippet is to support an article on our website: Include QR Codes on Your Website.

The following code utilizes the Google Charts API to render the resulting code.

Usage is as follows: [gqr url=""]. The result of this shortcode is as follows (centering is ours):

PHP version here.