I'm using some custom posts types, and, I don't wanna create specific categories for each one.
I'd like to use the Post Category in all my Custom Post.
Here is a example of my new custom posts type:
I know how create new category type for my custom posts, but I don't know how use the regular categories from posts.
/* New Custom Post - Cupons
/* ------------------------------------ */
add_action( 'init', 'create_post_type_cupons' );
function create_post_type_cupons() {
register_post_type( 'cupom',
array(
'labels' => array(
'name' => __( 'Cupons' ),
'singular_name' => __( 'Cupom' )
),
'public' => true,
)
);
}