Created
August 23, 2021 23:04
-
-
Save henshaw/0c8c7b6c06d94f9ed413b8b3262549cd to your computer and use it in GitHub Desktop.
QR code for WordPress template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aside class="qrcode"> | |
<p><img src="<?php bloginfo('template_directory'); ?>/qrcode/php/qr_img.php?d=<?php the_permalink(); ?>" alt="QR code for article link"></p> | |
<p>Scan QR code to view article online</p> | |
</aside> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced in QR codes: Why they matter and how to add them to your site