Skip Navigation

[Closed] Theme integration manual to use layout templates for custom post types missing

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 4 years, 1 month ago.

Assigned support staff: Christian Cox.


I am trying to: integrate toolset with the enfold theme to use layout templates for custom post types as described here

Link to a page where the issue can be seen:

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?


Christian Cox

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

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 topic ‘[Closed] Theme integration manual to use layout templates for custom post types missing’ is closed to new replies.