CPT curacion amaarquitectura
para que cuando posteo algo de otro, pasen por mi web (antes de ver el post que he posteado). A ver si así les vendo algo antes…
if ( ! function_exists('CPT_Curacion_amaarquitectura') ) { // Register Custom Post Type function CPT_Curacion_amaarquitectura() { $labels = array( 'name' => _x( 'Curaciones', 'Post Type General Name', 'CPT_Curacion_amaarquitectura' ), 'singular_name' => _x( 'Curacion', 'Post Type Singular Name', 'CPT_Curacion_amaarquitectura' ), 'menu_name' => __( 'Curaciones', 'CPT_Curacion_amaarquitectura' ), 'name_admin_bar' => __( 'curaciones', 'CPT_Curacion_amaarquitectura' ), 'archives' => __( 'archivo de curaciones', 'CPT_Curacion_amaarquitectura' ), 'attributes' => __( 'Item Attributes', 'CPT_Curacion_amaarquitectura' ), 'parent_item_colon' => __( 'Parent Item:', 'CPT_Curacion_amaarquitectura' ), 'all_items' => __( 'All Items', 'CPT_Curacion_amaarquitectura' ), 'add_new_item' => __( 'Add New Item', 'CPT_Curacion_amaarquitectura' ), 'add_new' => __( 'añadir Curación', 'CPT_Curacion_amaarquitectura' ), 'new_item' => __( 'nueva Curación', 'CPT_Curacion_amaarquitectura' ), 'edit_item' => __( 'Edit Item', 'CPT_Curacion_amaarquitectura' ), 'update_item' => __( 'Update Item', 'CPT_Curacion_amaarquitectura' ), 'view_item' => __( 'View Item', 'CPT_Curacion_amaarquitectura' ), 'view_items' => __( 'View Items', 'CPT_Curacion_amaarquitectura' ), 'search_items' => __( 'Search Item', 'CPT_Curacion_amaarquitectura' ), 'not_found' => __( 'Not found', 'CPT_Curacion_amaarquitectura' ), 'not_found_in_trash' => __( 'Not found in Trash', 'CPT_Curacion_amaarquitectura' ), 'featured_image' => __( 'Featured Image', 'CPT_Curacion_amaarquitectura' ), 'set_featured_image' => __( 'Set featured image', 'CPT_Curacion_amaarquitectura' ), 'remove_featured_image' => __( 'Remove featured image', 'CPT_Curacion_amaarquitectura' ), 'use_featured_image' => __( 'Use as featured image', 'CPT_Curacion_amaarquitectura' ), 'insert_into_item' => __( 'Insert into item', 'CPT_Curacion_amaarquitectura' ), 'uploaded_to_this_item' => __( 'Uploaded to this item', 'CPT_Curacion_amaarquitectura' ), 'items_list' => __( 'Items list', 'CPT_Curacion_amaarquitectura' ), 'items_list_navigation' => __( 'Items list navigation', 'CPT_Curacion_amaarquitectura' ), 'filter_items_list' => __( 'Filter items list', 'CPT_Curacion_amaarquitectura' ), ); $args = array( 'label' => __( 'Curacion', 'CPT_Curacion_amaarquitectura' ), 'description' => __( 'cpt Curaciones', 'CPT_Curacion_amaarquitectura' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'post-formats' ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-admin-multisite', 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => false, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'Curacion', $args ); } add_action( 'init', 'CPT_Curacion_amaarquitectura', 0 ); }