Support » Plugin: QR Code Generator » Integrate the shortcode into template files

  • Hi there!
    Thanks for this great plugin.
    I would like to integrate the shortcode into my template files, so that a QR code be generated automatically for every post of a certain taxonomy…

    (basically, I want to print out post excerpts which would include the QR code nearby. If people want to read the rest of the post on their phone, they scan the code. I have the post-printing template nice and ready, I just need the auto QR code)

    It seems I have to go through the do_shortcode function, but despite reading the relevant page on the WP Codex I’m still not sure how to embed the shortcode into my files.

    Any advice?

    Cheers,
    D_

    https://wordpress.org/plugins/qrcode-wprhe/

Viewing 1 replies (of 1 total)
  • Would also like the same concept; would like to automatically generate a qr code for each product on woocommerce product pages instead of having to copy/paste the short code for each product. Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Integrate the shortcode into template files’ is closed to new replies.