Navigation überspringen

[Gelöst] Content Template is not working on website

This support ticket is created vor 3 years, 5 months. 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 3 years, 5 months.

Assistiert von: Minesh.

Author
Artikel
#2515349

Hello Support,

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

Link to a page where the issue can be seen: versteckter Link

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

Thanks
Sid

#2515951

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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-versteckter Link but issue was not resolved. please check screenshot -versteckter Link

Although, I have tried the Twenty Twenty theme and able to see the frontend- versteckter Link, please check screenshot here- versteckter 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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/