Skip Navigation

[Resolved] Templates Terminology

This thread is resolved. Here is a description of the problem and solution.

Problem:
1. When I view the Toolset Dashboard. Does the Front-End "Template" column list "Template Layouts" that I have created, "Views Content Templates" that I have created or both types of templates?

2. In the Dashboard, under Toolset, "Layouts" lists "Layouts being used as templates for post types". Are those "Template Layouts"?

3. In the Dashboard, under Toolset, it lists "Content Templates". Are those what is meant by "Views Content Templates"?

Solution:
1. If you have the Layouts plugin active, this column should only display the Template Layout associated with this post type, or the fallback PHP template like single.php, regardless of Content Templates you have applied to the post type. If Layouts plugin is not active, then this column should only display the Content Template you have applied to the post type, or the fallback PHP template, regardless of any Layouts you may have applied before deactivating the plugin.

2. That's correct.

3. Yes, that's correct as well.

In general, Content Templates don't apply to entire post types or archives when you're using the Layouts plugin. They would mainly be utilized in individual Views' Loop Outputs in this case. If Layouts is not active, then Content Templates can apply to entire post types or archives, or to individual Views Loop Outputs.

This support ticket is created 7 years, 1 month 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.

Our next available supporter will start replying to tickets in about 6.65 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by danM-7 7 years, 1 month ago.

Assisted by: Christian Cox.

Author
Posts
#578225

Tell us what you are trying to do? Understand terminology and differences between template types

Is there any documentation that you are following?
Reference https://toolset.com/documentation/user-guides/view-templates/ - Views and Layouts can be used to create templates for custom posts. Our recommended workflow assumes you use Template Layouts, but there are times when you may want to use Views Content Templates.

Is there a similar example that we can see? N/A

What is the link to your site? N/A

My questions:
When I view the Toolset Dashboard. Does the Front-End "Template" column list "Template Layouts" that I have created, "Views Content Templates" that I have created or both types of templates?
In the Dashboard, under Toolset, "Layouts" lists "Layouts being used as templates for post types". Are those "Template Layouts"?
In the Dashboard, under Toolset, it lists "Content Templates". Are those what is meant by "Views Content Templates"?

#578274

Hi, I'll try to clarify:
When I view the Toolset Dashboard. Does the Front-End "Template" column list "Template Layouts" that I have created, "Views Content Templates" that I have created or both types of templates?
If you have the Layouts plugin active, this column should only display the Template Layout associated with this post type, or the fallback PHP template like single.php, regardless of Content Templates you have applied to the post type. If Layouts plugin is not active, then this column should only display the Content Template you have applied to the post type, or the fallback PHP template, regardless of any Layouts you may have applied before deactivating the plugin.

In the Dashboard, under Toolset, "Layouts" lists "Layouts being used as templates for post types". Are those "Template Layouts"?
That's correct.

In the Dashboard, under Toolset, it lists "Content Templates". Are those what is meant by "Views Content Templates"?
Yes, that's correct as well.

In general, Content Templates don't apply to entire post types or archives when you're using the Layouts plugin. They would mainly be utilized in individual Views' Loop Outputs in this case. If Layouts is not active, then Content Templates can apply to entire post types or archives, or to individual Views Loop Outputs.

#579063

Thank you for the answers.