Can we have categorized custom posts?
-
Hi,
I created Custom Post :
//Add custom post add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'gb_cmspage', array( 'labels' => array( 'name' => __( 'CMSPages' ), 'singular_name' => __( 'CMSPage' ), ‘show_ui’ => true, ‘capability_type’ => ‘post’, ‘hierarchical’ => false, ‘rewrite’ => true, ‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’, ‘custom-fields’) ), 'public' => true ) ); }
This works fairly fine, but I do not see an option to choose a category the way we have for Post.
How can I have custom categorized post for my custom content type?
Regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Can we have categorized custom posts?’ is closed to new replies.