Just insert the above code inside the WordPress loop, and a QR-code will be rendered for every article.
CODE SNIPPET:
1 |
<img src="http://api.qrserver.com/v1/create-qr-code/?size=500x500&data="<?php the_permalink() ?>" alt="QR Code for <?php the_title_attribute(); ?>"/> |