Skip Navigation

[Resolved] Custom Post Types not feeding into PDF document

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 18 replies, has 3 voices.

Last updated by Luo Yang 4 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1277015

Thanks for the details, I can log into your website, will update here if there is anything found

#1277105
pdf1.JPG

I have done below modifications in your website:
1) In order to test the result, I have added a new "Person" post
hidden link
field "Partner" use value "Yes"

2) Edit the post view "Preliminary Declarations 1":
hidden link
in section "Loop Editor", change the content template shortcode from:

[wpv-post-body view_template="Loop item in View 27"]

To:

[wpv-post-body view_template="Loop item in View 27" suppress_filters="true"]

The attribute suppress_filters="true" will remove all third party (non WordPress) filters hooked into the_content filter.
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-body

3) Test it in front-end:
hidden link

I can see the view's result in PDF file content, see screenshot: pdf1.JPG

Please test again, check if it is fixed, and same as above, you can add the same attribute suppress_filters="true" into other content template shortcodes.

#1277937

Luo..you are a genius!!!

Thank you so much for your help...it all seems to work fine...

I'm going to do some testing before I close the ticket but will let you know if I have any problems..

Best regards

Geoff

#1277981

OK, please update this thread if you need more assistance for it. Thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.