I am trying to: integrate toolset with the enfold theme to use layout templates for custom post types as described here https://toolset.com/documentation/toolset-training-course/part-1-creating-templates-for-displaying-post-types/
Link to a page where the issue can be seen: https://toolset.com/documentation/user-guides/layouts-theme-integration/
I expected to see: an explanation for a theme integration
Instead, I got: "Advanced users will still be able to integrate themes with Layouts so that they can be used to design the whole page, and we will update this page to detail how you would do that."
What happened to the theme integration manual? Can we still use Layouts to design layout templates for custom post types?
Sure, you can still use Layouts to design templates for CPTs. There are two ways to use Layouts with a custom theme.
1. Basic use, where your Layouts control the main content area and your theme controls header, footer, sidebars, etc.
2. Full integration, where Layouts controls the design of the entire site including header, footer, sidebars, everything.
Most people want 1 - Basic use, because they are fairly happy with the site's overall design provided by the theme. They just want to control the main content area, which Layouts will do automatically. If this is what you're trying to do, no additional work is required in most themes.
Some people want 2. We're still in the process of updating the documentation for this scenario, but basically you want to add a call to the function the_ddlayout() inside your PHP templates. This function call should replace everything inside the standard while have_posts():
while ( have_posts() ) : the_post();
the_ddlayout();