Shortcode in template (2)

19 June, 2020 09: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
20 June, 2020 02:45:07
E2Pdf
Support
Topics: 7
Messages: 3163
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!