Shortcodes not working in templates pages

26 January, 2021 02:58:40
Clever-2021-bafoeg
Topics: 7
Messages: 27
Hello.
i'm using e2pdf plugin. but it's shortcodes not working in template pages. i put shortcode in page and it show white space. can you please tell how we can use shortcodes in template pages?
Thanks
26 January, 2021 04:09:13
E2Pdf
Support
Topics: 7
Messages: 3177
Hi,

Can you please clarify what do you mean under templates page? Is it custom PHP Template or some theme functionality?

Can you please attach some screenshots:
1. Where shortcode placed
2. To which item E2Pdf Template connected. ("Options") (screenshot attached).

We remain at your service.
We would really appreciate your feedback at WordPress.org!
26 January, 2021 05:44:58
E2Pdf
Support
Topics: 7
Messages: 3177
Hi, please follow details in this thread which connected to your issue.
We would really appreciate your feedback at WordPress.org!
26 January, 2021 06:20:09
Clever-2021-bafoeg
Topics: 7
Messages: 27
ok you can see in attachments where i add shortcode and also response.
26 January, 2021 07:18:51
E2Pdf
Support
Topics: 7
Messages: 3177
Unfortunately If you want to redirect user to page which will contain PDF download link, it will not work as default Gravity Forms doesn't pass any data to identify which entry was submitted.

We had other user who used 3rd party plugin to solve such task: https://gravitywiz.com/documentation/gravity-forms-post-content-merge-tags/.

If you will decide to use it, it will be need to turn on "Enable Merge Tags in Page Content" on page redirect (Screenshot attached) and use shortcode inside post content as follows:

[e2pdf-download id="39" dataset="{entry_id}"]

We remain at your service.
We would really appreciate your feedback at WordPress.org!