I recently asked a question the other day and got what I was looking for. Today I put that knowledge to practice, but I can't seem to figure how to remove the title and editor fields from the "edit" page.
Below shows the arguments I'm using with register_post_type
. Logically, I think providing an empty array for "supports" would make it not support anything by default. Am I missing something?
$v_args = array(
'labels' => array (
'name' => 'Visitors',
'singular_name' => 'Visitor',
'add_new_item' => 'Register New Visitor',
),
'public' => true,
'publicly_queryable' => false,
'exclude_from_search' => true,
'show_ui' => true,
'hiearchical' => false,
'supports' => array( ),
);
Thanks,
-Zack