kfz-web further imgs
if ( ! function_exists('kfz_web_cpt') ) {
// Register Custom Post Type
function kfz_web_cpt() {
$labels = array(
'name' => _x( 'kfz-web Bilder', 'Post Type General Name', 'kfz-web-cpt' ),
'singular_name' => _x( 'kfz-web Bild', 'Post Type Singular Name', 'kfz-web-cpt' ),
'menu_name' => __( 'kfz-web Bilder', 'kfz-web-cpt' ),
'name_admin_bar' => __( 'kfz-web Bilder', 'kfz-web-cpt' ),
'archives' => __( 'kfz-web Bilder Archive', 'kfz-web-cpt' ),
'attributes' => __( 'kfz-web Attribute', 'kfz-web-cpt' ),
'parent_item_colon' => __( 'Elternelement', 'kfz-web-cpt' ),
'all_items' => __( 'Alle kfz-web Bilder', 'kfz-web-cpt' ),
'add_new_item' => __( 'neues kfz-web Bild', 'kfz-web-cpt' ),
'add_new' => __( 'Neu', 'kfz-web-cpt' ),
'new_item' => __( 'Neues kfz-web Bild', 'kfz-web-cpt' ),
'edit_item' => __( 'kfz-web Bild bearbeiten', 'kfz-web-cpt' ),
'update_item' => __( 'kfz-web Bild updaten', 'kfz-web-cpt' ),
'view_item' => __( 'Alle kfz-web Bilder ansehen', 'kfz-web-cpt' ),
'view_items' => __( 'kfz-web Bilder ansehen', 'kfz-web-cpt' ),
'search_items' => __( 'kfz-web Bilder durchsuchen', 'kfz-web-cpt' ),
'not_found' => __( 'Nichts gefunden', 'kfz-web-cpt' ),
'not_found_in_trash' => __( 'im Papierkorb nichts gefunden', 'kfz-web-cpt' ),
'featured_image' => __( 'Hauptbild', 'kfz-web-cpt' ),
'set_featured_image' => __( 'als Hauptbild setzen', 'kfz-web-cpt' ),
'remove_featured_image' => __( 'Hauptbild entfernen', 'kfz-web-cpt' ),
'use_featured_image' => __( 'als Hauptbild benutzen', 'kfz-web-cpt' ),
'insert_into_item' => __( 'zu kfz-web Bild hinzufügen', 'kfz-web-cpt' ),
'uploaded_to_this_item' => __( 'zu kfz-web Bild hochladen', 'kfz-web-cpt' ),
'items_list' => __( 'kfz-web Bild Liste', 'kfz-web-cpt' ),
'items_list_navigation' => __( 'zu kfz-web Bild Listennavigation', 'kfz-web-cpt' ),
'filter_items_list' => __( 'zu kfz-web Bild Liste Filtern', 'kfz-web-cpt' ),
);
$args = array(
'label' => __( 'kfz-web Bild', 'kfz-web-cpt' ),
'labels' => $labels,
'supports' => array( ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'menu_icon' => 'dashicons-format-gallery',
'show_in_admin_bar' => false,
'show_in_nav_menus' => false,
'can_export' => true,
'has_archive' => false,
'exclude_from_search' => true,
'publicly_queryable' => true,
'rewrite' => false,
'capability_type' => 'page',
'show_in_rest' => false,
);
register_post_type( 'kfz-web-further-imgs', $args );
}
add_action( 'init', 'kfz_web_cpt', 0 );
}