Skip Navigation

[Resolved] Content Templates not working for some pages

This support ticket is created 3 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: Africa/Casablanca (GMT+01:00)

This topic contains 5 replies, has 3 voices.

Last updated by duongN-3 3 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#2030775

Tell us what you are trying to do?
Pages like this aren't showing the content template.
Defective page: hidden link
Expected template: hidden link
Is there any documentation that you are following?
No
Is there a similar example that we can see?
Page should show like this: hidden link

What is the link to your site?
hidden link

#2030843

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

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.

#2031863

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?

#2032091

Hi Jamal,

Please go ahead and do what you need .
Thanks.

#2032431

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 hidden link

If I removed or disable the shortcode "wpdm_package" in the view "List of Subtitles", the issue disappears. Check this screenshot hidden link
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 hidden link

I hope this helps. Let me know if you have any questions.

#2034427

My issue is resolved now. Thank you!