Shortcode in template (2)

June 19, 2020 16:26:04
Arya
Topics: 2
Messages: 2
Hi,

I have the same situation as in this thread: https://e2pdf.com/support/desk/shortcode-in-template

I use the same plugin, but I need a QRcode for pdf URL.

How do I accomplish that?

Thanks
June 20, 2020 09:45:07
E2Pdf
Topics: 7
Messages: 3617
Support
Hi,

Unfortunately there is no built-in action to accomplish this task.

If you are using WordPress extension you can try to accomplish it with following steps:

To accomplish this task please update plugin to latest version (1.10.07). After this follow instruction below:

1. Create E2Pdf Image object inside template with "qrcode" word as "value".

2. Copy and add filter to your theme functions.php https://codeshare.io/5vZpEy. Modify the values of Template ID (46) and Element ID (2) according to your values. (Screenshot 2 attached with information where you can find Template ID and Element ID).

It will generate url for shortcode and will use it as "text" value for QRCode shortcode.

We remain at your service.

We would really appreciate your feedback at WordPress.org!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.