Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

postype

interior design

if ( ! function_exists('Interior_post_type') ) {

// Register Custom Post Type
function Interior_post_type() {

	$labels = array(
		'name'                  => _x( 'Interior designs', 'Post Type General Name', 'text_domain' ),
		'singular_name'         => _x( 'Interior design', 'Post Type Singular Name', 'text_domain' ),
		'menu_name'             => __( 'עיצוב פנים', 'text_domain' ),
		'name_admin_bar'        => __( 'עיצוב פנים', 'text_domain' ),
		'archives'              => __( 'ארכיון עיצוב פנים', 'text_domain' ),
		'attributes'            => __( 'תכונות עיצוב פנים', 'text_domain' ),
		'parent_item_colon'     => __( 'הורה עיצוב פנים', 'text_domain' ),
		'all_items'             => __( 'כל עיצובי הפנים', 'text_domain' ),
		'add_new_item'          => __( 'הוספת עיצוב פנים', 'text_domain' ),
		'add_new'               => __( 'הוספת חדש', 'text_domain' ),
		'new_item'              => __( 'הוספת פרוייקט', 'text_domain' ),
		'edit_item'             => __( 'עריכת פרוייקט', 'text_domain' ),
		'update_item'           => __( 'עדכון פרוייקט', 'text_domain' ),
		'view_item'             => __( 'צפיה בפרוייקט', 'text_domain' ),
		'view_items'            => __( 'צפיה בפרוייקטים', 'text_domain' ),
		'search_items'          => __( 'חיפוש פרוייקט', 'text_domain' ),
		'not_found'             => __( 'פרוייקט לא נמצא', 'text_domain' ),
		'not_found_in_trash'    => __( 'אין פרוייקטים בפח', 'text_domain' ),
		'featured_image'        => __( 'תמונה ראשית', 'text_domain' ),
		'set_featured_image'    => __( 'עדכון תמונה ראשית', 'text_domain' ),
		'remove_featured_image' => __( 'הסרת תמונה ראשית', 'text_domain' ),
		'use_featured_image'    => __( 'שימוש בתור תמונה ראשית', 'text_domain' ),
		'insert_into_item'      => __( 'הוספה לתוך פרוייקט', 'text_domain' ),
		'uploaded_to_this_item' => __( 'העלאת קובץ', 'text_domain' ),
		'items_list'            => __( 'רשימת פרוייקטים', 'text_domain' ),
		'items_list_navigation' => __( 'ניווט ברשימת הפרוייקטים', 'text_domain' ),
		'filter_items_list'     => __( 'פילטר', 'text_domain' ),
	);
	$args = array(
		'label'                 => __( 'Interior design', 'text_domain' ),
		'description'           => __( 'כל הפרוייקטים בעיצוב פנים', 'text_domain' ),
		'labels'                => $labels,
		'supports'              => array( 'title', 'editor', 'thumbnail', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ),
		'taxonomies'            => array( 'category', 'post_tag' ),
		'hierarchical'          => true,
		'public'                => true,
		'show_ui'               => true,
		'show_in_menu'          => true,
		'menu_position'         => 5,
		'menu_icon'             => 'http://webnetstudiodev.biz/Client/riki/wp-content/uploads/2018/11/Asset-2icons.svg',
		'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'       => 'post',
	);
	register_post_type( 'Interior_design', $args );

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

}