Closed carlomanf closed 3 years ago
7cf7442 was going to deregister funnel types that were not associated with the current theme, but this was reverted and the new approach is to automatically re-register all the funnel types on theme switch. There is now a metadata field that indicates that a template is intended for a new funnel type, as well as a new UI.
11 has been tracking the progress of moving some code into a legacy class in preparation for full site editing.
The way to create funnels that support full site editing has been to make a new theme template with the
single-$posttype
pattern, and a new funnel type is automatically loaded.The problem with this is not all post types are necessarily for funnels, and they may possibly be registered through other plugins. There will need to be a better way to determine whether a new funnel type is needed, possibly through a metadata field on the template.