The problem: I have a custom type using Toolset Types, and when I would create a new post of this type, I was unable to select a Toolset Template Layout. This mean that the post could not display. Even worse, existing posts of this type could become broken if I edited them and saved any changes.
The solution: it turns out that there is a bug in Toolset Types 3.2.1. (I am using the Toolset Starter Theme.) On a custom post type, if the "Editor" section is not set to display, then when you try to edit this post, you cannot select a template layout. It shows a dropdown list to select a template layout, but the list is not populated.
See image for the exact checkbox that needs to be checked. (Oops, it wouldn't let me update.)
Other important info: we are also using the Beaver Builder plugin. So, there could be a plugin interaction here. But it seems like a Toolset bug, because I fixed it by editing the custom post type and enabling the display of the Editor section.
To reproduce:
- create a new custom post type with Toolset Types
- You should also have Toolset Layouts enabled
- On thisnew post type, UNCHECK the box beside "Editor". This means that when editing the new post type, you won't see the standard WordPress editor. (Note: it is very useful to be able to disable this on post types that should always use a page builder, like Beaver Builder.)
- Now try to add a new post of your custom post type. You will not be able to select a template layout, so the post will not display.