Skip Navigation

[Resolved] Content Template is not working on website

This support ticket is created 2 years, 2 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2515349

Hello Support,

I am trying to create a content template on website for my team profile page. please see screenshot here- hidden link but it's not showing on frontend -hidden link

Link to a page where the issue can be seen: hidden link

Please check the issue and let me know why its not showing on frontend.

Thanks
Sid

#2515951

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This is really strange. I even tried to delete the content template you created for team post type and created the new one but that does not help as well.

It seems either any third party plugin or theme is overriding the content template. To ensure there is no conflict between the third-party plugins you are using or theme:

*** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as with the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference?

#2515967

Hello Minesh,

I had disable all the plugins and current theme and tried to test with the Twenty Twenty Three theme-hidden link but issue was not resolved. please check screenshot -hidden link

Although, I have tried the Twenty Twenty theme and able to see the frontend- hidden link, please check screenshot here- hidden link

PS- We will not change the theme in any case, you have to tell me the exact issue and please fix the issue for me.

Thanks
Sid

#2516189

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It seems the theme support for content template created using Toolset is not compatible:
=> https://toolset.com/documentation/programmer-reference/theme-support-for-content-templates/

Content Templates modify the content when called from the_content function. Some themes don't use this function, but define their own.  As its not compatible then you will have to add a single post type php template to your theme and use the the_content() function to display the content belongs to content template.

Here is doc that shows how you can build single-{post-type}.php template:
- https://toolset.com/documentation/customizing-sites-using-php/creating-templates-single-custom-posts/