Big Bang Food Legal
Esto es un ctp de legal
if ( ! function_exists('bigbangfood_crear_ctp_legal') ) { // Register Custom Post Type function bigbangfood_crear_ctp_legal() { $labels = array( 'name' => _x( 'Legal', 'Post Type General Name', 'bigbangfood_crear_ftp_legal' ), 'singular_name' => _x( 'Legal', 'Post Type Singular Name', 'bigbangfood_crear_ftp_legal' ), 'menu_name' => __( 'Legal', 'bigbangfood_crear_ftp_legal' ), 'name_admin_bar' => __( 'Legal', 'bigbangfood_crear_ftp_legal' ), 'archives' => __( 'Archivos de Página', 'bigbangfood_crear_ftp_legal' ), 'attributes' => __( 'Page Attributes', 'bigbangfood_crear_ftp_legal' ), 'parent_item_colon' => __( 'Parent Página:', 'bigbangfood_crear_ftp_legal' ), 'all_items' => __( 'Todas las Páginas', 'bigbangfood_crear_ftp_legal' ), 'add_new_item' => __( 'Añadir Página', 'bigbangfood_crear_ftp_legal' ), 'add_new' => __( 'Añadir nuevo', 'bigbangfood_crear_ftp_legal' ), 'new_item' => __( 'Nueva Página', 'bigbangfood_crear_ftp_legal' ), 'edit_item' => __( 'Editar Página', 'bigbangfood_crear_ftp_legal' ), 'update_item' => __( 'Actualizar Página', 'bigbangfood_crear_ftp_legal' ), 'view_item' => __( 'Ver Página', 'bigbangfood_crear_ftp_legal' ), 'view_items' => __( 'Ver Página', 'bigbangfood_crear_ftp_legal' ), 'search_items' => __( 'Buscar Página', 'bigbangfood_crear_ftp_legal' ), 'not_found' => __( 'Not found', 'bigbangfood_crear_ftp_legal' ), 'not_found_in_trash' => __( 'Not found in Trash', 'bigbangfood_crear_ftp_legal' ), 'featured_image' => __( 'Imagen destacada', 'bigbangfood_crear_ftp_legal' ), 'set_featured_image' => __( 'Set featured image', 'bigbangfood_crear_ftp_legal' ), 'remove_featured_image' => __( 'Remove featured image', 'bigbangfood_crear_ftp_legal' ), 'use_featured_image' => __( 'Use as featured image', 'bigbangfood_crear_ftp_legal' ), 'insert_into_item' => __( 'Insert into Page', 'bigbangfood_crear_ftp_legal' ), 'uploaded_to_this_item' => __( 'Uploaded to this página', 'bigbangfood_crear_ftp_legal' ), 'items_list' => __( 'Lista de páginas', 'bigbangfood_crear_ftp_legal' ), 'items_list_navigation' => __( 'Service list navigation', 'bigbangfood_crear_ftp_legal' ), 'filter_items_list' => __( 'Filter Service list', 'bigbangfood_crear_ftp_legal' ), ); $rewrite = array( 'slug' => 'legal', 'with_front' => true, 'pages' => true, 'feeds' => true, ); $args = array( 'label' => __( 'Legal', 'bigbangfood_crear_ftp_legal' ), 'description' => __( 'ctp de bigbangfood', 'bigbangfood_crear_ftp_legal' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ), 'taxonomies' => array( 'category', 'post_' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-image-filter', 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'rewrite' => $rewrite, 'capability_type' => 'page', ); register_post_type( 'bigbangfoo_legal', $args ); } add_action( 'init', 'bigbangfood_crear_ctp_legal', 0 ); }