Escorts
// Register Custom Post Type
function custom_post_escorts() {
$labels = array(
'name' => 'Escorts',
'singular_name' => 'Escort',
'menu_name' => 'Escorts',
'name_admin_bar' => 'Escorts',
'archives' => 'Item Archives',
'attributes' => 'Item Attributes',
'parent_item_colon' => 'Parent Item:',
'all_items' => 'Todas las Chicas',
'add_new_item' => 'Nueva Chica',
'add_new' => 'Añadir',
'new_item' => 'Añadir',
'edit_item' => 'Editar',
'update_item' => 'Actualizar',
'view_item' => 'Ver',
'view_items' => 'Ver',
'search_items' => 'Buscar',
'not_found' => 'sin resultados',
'not_found_in_trash' => 'Papelera Vacía',
'featured_image' => 'Imagen Principal',
'set_featured_image' => 'Añadir Imagen',
'remove_featured_image' => 'Eliminar Imagen',
'use_featured_image' => 'Usar Imagen',
'insert_into_item' => 'Insert into item',
'uploaded_to_this_item' => 'Uploaded to this item',
'items_list' => 'Items list',
'items_list_navigation' => 'Items list navigation',
'filter_items_list' => 'Filter items list',
);
$args = array(
'label' => 'Escort',
'description' => 'Catálogo de chicas',
'labels' => $labels,
'supports' => array( 'title', 'thumbnail' ),
'taxonomies' => array( 'category', 'post_tag' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'menu_icon' => 'dashicons-businesswoman',
'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( 'escort', $args );
}
add_action( 'init', 'custom_post_escorts', 0 );