cescar materials
The post cpt_cnc_materials appeared first on GenerateWP.
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 );
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | cnc-machine | 0 | 16.53 | 26-01-2026 |
| 2 | cpt_cnc_services | 0 | 8.4 | 26-01-2026 |
| 3 | industry | 0 | 8.26 | 27-01-2026 |
| 4 | tax_machine_type | 0 | 8.26 | 27-01-2026 |
| 5 | Applications | 0 | 8.26 | 27-01-2026 |
| 6 | Untitled Snippet | 0 | 12.47 | 13-01-2026 |
| 7 | Standart | 0 | 15.73 | 06-01-2026 |
| 8 | hgrjtj | 0 | 8.26 | 13-01-2026 |
| 9 | Compaction Behavior of Stainless Steel/Carbamide Mixtures in Porous Scaffold Fabrication via Space Holder Method | 0 | 8.24 | 29-07-2026 |
| 10 | CESI Turns 70 | 0 | 9.53 | 31-07-2026 |