Hi, i have installed role scoper and it now block all my custom posts to normal visitors.
i have registered the post types in different file rather than functions.php for organizing purpose then include it top of the functions.php is that a problem?
add_action('init', 'register_classifield', 1);
add_action("admin_init", "classifield_option_init");
add_action('save_post', 'save_classifield_options');
function register_classifield(){
$labels = array(
'name' => _x('Classifields', 'post type general name'),
'singular_name' => _x('Classifield', 'post type singular name'),
'add_new' => _x('Add New', 'Classifield'),
'add_new_item' => __('Add New Classifield'),
'edit_item' => __('Edit Classifield'),
'new_item' => __('New Classifield'),
'view_item' => __('View Classifield'),
'search_items' => __('Search Classifields'),
'not_found' => __('No Classifields found'),
'not_found_in_trash' => __('No Classifields 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('classifield-tag', 'classifield-category'),
'supports' => array('title', 'editor', 'thumbnail', 'revisions')
);
register_post_type('classifield', $args);
}