Dating
// Register Custom Post Type
function dating_post_type() {
$labels = array(
'name' => 'Datings',
'singular_name' => 'Dating',
'menu_name' => 'Dating',
'name_admin_bar' => 'Dating',
'archives' => 'Dating',
'attributes' => '',
'parent_item_colon' => '',
'all_items' => 'All Dating',
'add_new_item' => 'Add New Dating',
'add_new' => 'Add New',
'new_item' => 'New Dating',
'edit_item' => 'Edit Dating',
'update_item' => '',
'view_item' => 'View Dating',
'view_items' => 'View Datings',
'search_items' => '',
'not_found' => '',
'not_found_in_trash' => '',
'featured_image' => '',
'set_featured_image' => '',
'remove_featured_image' => '',
'use_featured_image' => '',
'insert_into_item' => '',
'uploaded_to_this_item' => '',
'items_list' => '',
'items_list_navigation' => '',
'filter_items_list' => '',
);
$args = array(
'label' => 'Dating',
'labels' => $labels,
'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ),
'taxonomies' => array( 'category', 'post_tag' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'show_in_admin_bar' => true,
'show_in_nav_menus' => true,
'can_export' => true,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
'capability_type' => 'page',
);
register_post_type( 'Dating', $args );
}
add_action( 'init', 'dating_post_type', 0 );