Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

cpt_cnc_materials

Дата публикации: 26-01-2026 23:41:20

cescar materials
The post cpt_cnc_materials appeared first on GenerateWP.


Основное содержимое страницы с новостью.

cpt_cnc_materials

cescar materials

// Register Custom Post Type
function cnc_material() {

	$labels = array(
		'name'                  => _x( 'Materials', 'Post Type General Name', 'cescar' ),
		'singular_name'         => _x( 'Material', 'Post Type Singular Name', 'cescar' ),
		'menu_name'             => __( 'Materials', 'cescar' ),
		'name_admin_bar'        => __( 'Material', 'cescar' ),
		'archives'              => __( 'Item Archives', 'cescar' ),
		'attributes'            => __( 'Item Attributes', 'cescar' ),
		'parent_item_colon'     => __( 'Parent Item:', 'cescar' ),
		'all_items'             => __( 'All Items', 'cescar' ),
		'add_new_item'          => __( 'Add New Material', 'cescar' ),
		'add_new'               => __( 'Add New', 'cescar' ),
		'new_item'              => __( 'New Material', 'cescar' ),
		'edit_item'             => __( 'Edit Material', 'cescar' ),
		'update_item'           => __( 'Update Item', 'cescar' ),
		'view_item'             => __( 'View Material', 'cescar' ),
		'view_items'            => __( 'View Materials', 'cescar' ),
		'search_items'          => __( 'Search Materials', 'cescar' ),
		'not_found'             => __( 'No materials found.', 'cescar' ),
		'not_found_in_trash'    => __( 'No materials found in Trash.', 'cescar' ),
		'featured_image'        => __( 'Material Image', 'cescar' ),
		'set_featured_image'    => __( 'Set material image', 'cescar' ),
		'remove_featured_image' => __( 'Remove material image', 'cescar' ),
		'use_featured_image'    => __( 'Use as material image', 'cescar' ),
		'insert_into_item'      => __( 'Insert into material', 'cescar' ),
		'uploaded_to_this_item' => __( 'Uploaded to this material', 'cescar' ),
		'items_list'            => __( 'materials list', 'cescar' ),
		'items_list_navigation' => __( 'materials list navigation', 'cescar' ),
		'filter_items_list'     => __( 'Filter materials list', 'cescar' ),
	);
	$args = array(
		'label'                 => __( 'Material', 'cescar' ),
		'description'           => __( 'cnc materials', 'cescar' ),
		'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-category',
		'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',
		'show_in_rest'          => true,
	);
	register_post_type( 'cnc_material', $args );

}
add_action( 'init', 'cnc_material', 0 );

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1cnc-machine016.5326-01-2026
2cpt_cnc_services08.426-01-2026
3industry08.2627-01-2026
4tax_machine_type08.2627-01-2026
5Applications08.2627-01-2026
6Untitled Snippet012.4713-01-2026
7Standart015.7306-01-2026
8hgrjtj08.2613-01-2026
9Compaction Behavior of Stainless Steel/Carbamide Mixtures in Porous Scaffold Fabrication via Space Holder Method08.2429-07-2026
10CESI Turns 7009.5331-07-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 8.4. Источник: generatewp.com.