Add Post Formats

If you want to add the post formats for pages:

add_post_type_support( 'page', 'post-formats' );

If you want to add post formats for custom post types (CPT):

add_post_type_support( 'my_custom_post_type', 'post-formats' );