[Resuelto] Content Templates not working for some pages
This support ticket is created hace 3 años, 7 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.
Tell us what you are trying to do?
Pages like this aren't showing the content template.
Defective page: enlace oculto
Expected template: enlace oculto
Is there any documentation that you are following?
No
Is there a similar example that we can see?
Page should show like this: enlace oculto
There were some changes to the assignment of content templates in the lastest plugin release.
It would be helpful if we could take a quick look at your site to see how this is set up, and if it is not obvious what the problem is, possibly take a copy of your site for testing.
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.
For some reason, the content template does not get used by that post. I first unassigned the content template, and the metabox disappeared. So, I deactivated Toolset Layouts, as you don't have any active layout used, and assigned the content template back to the post, but it did not help.
I'll need to debug this issue locally. Can I take a copy of your website for my debugging?
This issue does not happen in a minimal setup (Only Toolset plugins+Default theme). It turns out to be caused by the theme's code, which is using a function that does not exist (wdm_acf()). Check this screenshot enlace oculto
If I removed or disable the shortcode "wpdm_package" in the view "List of Subtitles", the issue disappears. Check this screenshot enlace oculto
This shortcode is used for the "Media" tab.
I believe that the theme expects to have the "Advanced Custom Fields" addon for Download Manager, which includes this function enlace oculto
I hope this helps. Let me know if you have any questions.