Post Content not working

WordPress
13 December, 2020 18:35:56
ljcn
Topics: 1
Messages: 2
I'm using a custom post type, requiring the use of meta keys for most of the data.
When a PDF is generated using the shortcode, all of the data is being pulled in, except for the post content.
However, if I export the same post through the E2PDF backend, it's pulling the post_content data.
Even using the specific post-ID in the shortcode leaves the post_content area blank.
Any ideas?
14 December, 2020 08:39:29
E2Pdf
Support
Topics: 7
Messages: 3345
Hi,

Do you use "HTML" object to output data? Some themes (like Elementor) can add additional content filters only to forntend which can affect final output on bakcend/frontend.

Can you try to use such shortcode and see if it will have effect:

[e2pdf-wp key="post_content" output="backend"]

If it still will not work and you are using custom theme, or custom post visual builder can you please attach theme/custom post visual builder to next message so we can check if we can add fix for it. You can mark message as private so only "support" can see your message.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
14 December, 2020 12:59:03
ljcn
Topics: 1
Messages: 2
Hello,

Thank you very much, this has worked perfectly! :-)