Sauter la navigation

[Résolu] Custom Post Types not feeding into PDF document

This support ticket is created Il y a 5 années et 6 mois. 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)

Marqué : ,

Ce sujet contient 18 réponses, a 3 voix.

Dernière mise à jour par Luo Yang Il y a 5 années et 6 mois.

Assisté par: Luo Yang.

Auteur
Publications
#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
lien caché
field "Partner" use value "Yes"

2) Edit the post view "Preliminary Declarations 1":
lien caché
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:
lien caché

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