The labels are right on the tabs and the main edit.php page but not the the “Edit Post” and “Add New Post”.
I would like it to say “Edit Legend” and “Add New Legend”.
Does anyone know how to do this?
Here is the code that registers the custom post types:
add_action( 'init', 'create_post_type' );
function create_post_type() {
register_post_type( 'legend',
array(
'labels' => array(
'name' => __( 'Legends' ),
'singular_name' => __( 'legend' )
),
'public' => true,
'has_archive' => true,
'supports'=>array('title','editor','excerpt'),
)
);
register_post_type( 'news',
array(
'labels' => array(
'name' => __( 'News and Events' ),
'singular_name' => __( 'News and Events' )
),
'public' => true,
'has_archive' => true,
)
);
}
Thank you for your help.
E