Skip Navigation

[Resuelto] Custom Post Types not feeding into PDF document

This support ticket is created hace 5 años, 5 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Etiquetado: ,

Este tema contiene 18 respuestas, tiene 3 mensajes.

Última actualización por Luo Yang hace 5 años, 5 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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
enlace oculto
field "Partner" use value "Yes"

2) Edit the post view "Preliminary Declarations 1":
enlace oculto
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:
enlace oculto

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