
QR Codes are quite popular online theses days. Do you want to generate QR codes for all of your blog posts? Here is a very simple way to do it.

QR Codes are quite popular online theses days. Do you want to generate QR codes for all of your blog posts? Here is a very simple way to do it.
Copy the following code and paste it into your single.php file, where you want the QR code to be displayed.
If you also want to provide a QR code on pages, paste the code into page.php as well.
<img src="http://api.qrserver.com/v1/create-qr-code/?size=100x100&data=<?php the_permalink(); ?>" alt="QR: <?php the_title(); ?>"/>
Thanks to Kevin Chard for the tip!
7 Responses
this trip is very helpful thanxs alot
Thanks for this one… found a pretty cool use we’ve shared with our members…
Awesome! Thanks for the idea and the heads-up on how to implement
Hi !
You can use Google Chart Tool like :
<img src="http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=&chld=H|0" />Enjoy!
Great Post. Very Helpfull. Would definitely make pages look professional.
Is there a way to generate qrcode from php? Today, we need to speed up wordpress and remove many dns queries made linking externale resources.
Is it possible? I’m sorry for my bad english.
Thanks a lot for the resource, i guess it will go a long way in promoting my posts.
Trackbacks: