How to Support for Custom
-
I read the changelog. It said it’s support custom post type.
But I cann’t find it. Is there something missing in the array of ‘supports’ when i registry the new post type?It workes on the default page and post.
I think I haven’t registried the right post type .
register_post_type(‘news’, array(
‘labels’ => array(
‘name’ => __(‘News’, ‘product’),
‘singular_name’ => __(‘News’, ‘product’),
),
‘public’ => true,
‘has_archive’ => true,
‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’, ‘excerpt’),
‘taxonomies’ => array(‘news-categories’),
));
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to Support for Custom’ is closed to new replies.