Skip Navigation

[Resolved] Content Template for Single Post

This support ticket is created 4 years 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 2 replies, has 2 voices.

Last updated by aaronT 4 years ago.

Assisted by: Jamal.

Author
Posts
#1570113

I have 2 forms for posts. One to add posts and one to edit posts. The add posts form is tied to a single post content template. I want to now have a single post template that shows the post. When I try to add another content template it says that a template is already linked to a single post. What is the solution for this?
I hope that I have explained clearly.
Thanks,
Aaron

#1570657

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello Aaron and thank you for contacting the Toolset support.

Only one Content Template can be assigned to a custom post type, you can not assign two. You can instead assign a different content template on a post per post basis. But I doubt that is what you would like to have.

Instead, I suggest using a conditional test to show different output(views, forms, etc) depending on the conditions. Check the following articles:
- https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/
- https://toolset.com/documentation/user-guides/gutenberg/using-toolset-conditional-block/

As of now, I am not sure to understand what you would like to have? Using forms to add/edit content or using Content Template to show content?
Can you give more details on what you would like to have?
Can you provide screenshots when relevant to explain better your use case?
Can you also paste your Toolset Debug information in the Debug information field?
- https://toolset.com/faq/provide-debug-information-faster-support/

#1576641

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.