Need help? Book our fixed price WordPress Support service.

Add Post Type Support to Custom Post Type

You may need to add support for a WordPress Custom Post Type after the post type has been registered, eg where a plugin or theme introduces new post types without all the required support.

You can do this using the function add_post_type_support().

For example, to add author support to the post type example_cpt, add the following code in your theme functions.php:

add_post_type_support( 'example_cpt', 'author' );

Was this article helpful?

No 0

About the Author

Christian Mayne is a full time WordPress developer and consultant based in the UK. He runs a UK based WordPress development agency with clients all over the World. As well as WordPress development, Christian has been teaching WordPress use and development since 2014 in classroom settings and online.

LEAVE COMMENT