How to declare support for multiple custom post types?
-
Hi there,
I want to use WP Subtitle on two custom post types I created using Custom Post Type UI plugin by WebDevStudios I’ve added support for custom post types in the functions as follows:
function my_wp_subtitle_page_part_support() { add_post_type_support( ‘consultants’, ‘wps_subtitle’ ); } add_action( ‘init’, ‘my_wp_subtitle_page_part_support’ );
Which is working fine but I also need to add support for my ‘events’ custom post type. I tried ‘consultants’, ‘events’, ‘wps_subtitle’ but that didn’t work.
Any help would be appreciated.
Thanks,
CharlotteThe page I need help with: [log in to see the link]
The topic ‘How to declare support for multiple custom post types?’ is closed to new replies.