How to Generate QR Code for WordPress Posts or Pages

Generate QR Code for WordPress Posts or Pages

Are you thinking to Generate QR Code for WordPress Posts or Pages? Before I discuss the ways to create  QR Code for WordPress Posts or Pages, let me discuss QR code and its importance.

What is QR Code?

QR code or Quick Response code is a two dimension matrix with many small black and white squares in it. Every QR code also contains a small piece of Information. One can read QR code just by scanning any device capable of reading QR code. QR codes can be read by a smartphone or QR code scanning devices. Just by scanning QR codes, devices will get the stored information of a QR code.

If a QR code was developed for a website’s URL, scanning QR code from the smartphone would directly open the URL. In this way, people will not have to type the full URL. This is why you will see the use of QR code in t-shirts and other marketing materials. App developers usually add a QR code along with URL to make it easier to download the app.

Why should you care about QR Codes?

Mobile devices now account for more than 50% of web traffic. People now access Internet on mobile phones more than they do on desktops and this number growing on a daily basis. QR Codes have the potential to have a major impact upon society. If I talk about major usage, it can be used particularly in advertising, marketing and customer service. In this section, information will be available in just one scan away.

Generate QR Code for WordPress Posts or Pages

Have your ever wanted to generate QR (Quick Response) code for your WordPress posts of pages? If yes, you can do it with few simple ways

QR code for WordPress with Plugin

If you are not comfortable with editing theme files, you can install plugins for adding QR codes for WordPress blog posts. There are few free to use plugins available. These plugins are:

There are many other QR code plugins for WordPress. You can install any of these plugins and activate. These plugins will add QR code to the blog post. Scanning the QR code will download the web page in their smartphone. These plugins also support shortcode to make it easier to embed QR code in WordPress posts and pages.

QR code for WordPress Manually

If you want to do it with custom coding, you only need to add a simple code. Simply add the code in single.php or page.php where you want to display the QR code.

<img src="<?php the_permalink(); ?>" alt="QR:  <?php the_title(); ?>"/>

You can change the size of QR code by modifying the size parameter in the code above. I have added the code for the image of size 100×100. Consider adding image size as per your theme’s compatibility.

Generate QR Code for WordPress Posts or Pages

I am using the API of QRserver to create this QR code. This QR code will only contain the blog URL and blog post title as information. Scanning this QR code will directly open the blog URL in the phone. Now, you can think how to use this QR code as a good promotional thing for your WordPress blog posts.

Also read: How to Display Last Updated Posts in WordPress

You can also access other useful WordPress Tutorials wrote by us.

Now you know what QR code is and how to use it in WordPress. If you still have anything to ask, you can comment below. I will try to answer your queries as soon as possible.

Tags: |

Deepanker Verma is the founder of Techlomedia. He is a tech blogger, developer and gadget freak.

Similar Articles


Leave a comment

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted.

2020 UseThisTip | Part of Techlomedia Internet Pvt Ltd Developed By Deepanker