Creating a QRcode with current URL as data – nested shortcodes
-
Hi,
I’m trying to create a QR code using the su_qrcode shortcode. I want the QR code to be “dynamic” and show the URL of the page it’s being displayed on. I’d then put that in a widget and if the reader prints a pdf copy of the post, the QR code would be printed as well.
I’ve tried to nest su_qrcode with su_post like this:
[su_qrcode data="{su_post field='ID' before='https://my_domain.com/?p='}" ]
This just interprets the data attribute as
{su_post field='ID' before='https://my_domain.com/?p='}
I’ve also tried using the double underscore, as indicated by an older posting. Has anyone been able to get something like this working?
Regards,
-mallard66
- The topic ‘Creating a QRcode with current URL as data – nested shortcodes’ is closed to new replies.