Hi, thanks for reply. My problem is not with custom post type ui. my problem is i created some custom post type by coding it. When i installed the role scooper plugin the custom post type is not showing in role scooper but showing the error i describe.
So, i thought. some thing i might have to change in my code to integrate the post types to role scooper.
here how i defined a post type:
* Code for event listings */
add_action('init', 'register_event_listing');
add_action("admin_init", "event_option_init");
add_action('save_post', 'save_event_options');
function register_event_listing(){
$labels = array(
'name' => _x('Events', 'post type general name'),
'singular_name' => _x('Event', 'post type singular name'),
'add_new' => _x('Add New', 'Event'),
'add_new_item' => __('Add New Event'),
'edit_item' => __('Edit Event'),
'new_item' => __('New Event'),
'view_item' => __('View Event'),
'search_items' => __('Search Events'),
'not_found' => __('No Events found'),
'not_found_in_trash' => __('No Events found in Trash'),
'parent_item_colon' => ''
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => 5,
'taxonomies' => array('post_tag', 'events'),
'supports' => array('title', 'editor', 'thumbnail', 'revisions')
);
register_post_type('event', $args);
}
function event_option_init(){
add_meta_box("event-meta", "Event Options", "write_event_options", "event", "normal", "high");
}
function write_event_options(){
code for event options
}