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.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.