Description:

If you need to create a visual URL of your posts, for some reason, you can easy create a qr code that include automatically your blog’s post permalink. What you need to do is insert the following code whare you want to show QR code link in your post page, for example on the single.php page

The Code:

1. Add the following Code to your single.php file

<img src="http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=H&choe=UTF-8&chl=<?php the_permalink(); ?>">

Please Note: that “chs=”350×350″ is the size of the qr image, edit that parameter according with your theme’s size.