I'd like to enable support of genesis layouts for ALL custom post types. I have the snippet below which will do it one CPT at a time provided I enter each CPT. Is there a way to write this to affect all Custom Post Types?
add_post_type_support( 'your_custom_post_type', 'genesis-layouts' );</code>
How are you registering the post types?
The post types are being registered with a 3rd party plugin. In this Case Types and Views
that code can't really be done to affect all post types. You may check with the plugin developer to see if the plugin can be setup to automatically include support for genesis_layouts.
I know this isn't a place for coding support, so thank you for your help, Nick. But couldn't use a conditional statement !is_single or something along those lines?
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!