Ads 468x60px

Bollywood news

Pages

Sunday, March 6, 2011

How to Add Unique QR Code to All WordPress Blog Posts Easily

Want to supplement a singular QR Code to all WordPress blog posts? QR codes have been a good approach to let mobile users operate QR formula readers to revisit urls as well as get law practice in a click.

Add QR Code

Use Google Chart API to beget singular QR codes for any WordPress blog post. Simply supplement a following formula in a your single.php record where we wish a QR formula to appear.

<img src="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chld=L|4&chl=<?php the_permalink(); ?>" width="150" height="150" alt="QR code" />

QR Code Parameters

Here is a mangle up of a QR formula parameters which we can change

http://chart.apis.google.com/chart? -  calls a Google Chart API

cht=qr chooses to arrangement a QR formula option

&chs=100x100 calls for a 100 px block size

&chld=L|4 – call for default blunder improvement turn as well as domain (in rows). So wish some-more white limit around a code, enlarge a 4

&chl=<?php the_permalink(); ?> call for a permalink of a singular post. Use a url we want.

This will supplement QR codes of distance 100px x 100px to your site. You can shift a 100 to 200 or whatever pixel distance we similar to as per your blog template. But recollect which really tiny QR codes have been formidable to review by most QR formula readers.

So for a categorical page, we can operate this
http://chart.apis.google.com/chart?cht=qr&chs=200×200&chld=L|1&chl=http://www.quickonlinetips.com

QOT QR CODE

Scan it with your QR formula scanner as well as see if it works.



0 comments:

Post a Comment