Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

mikrozajmy

// Register Custom Post Type
function mikrozajmy_post_type() {

	$labels = array(
		'name'                  => 'mikrozajmy',
		'singular_name'         => 'mikrozajm',
		'menu_name'             => 'Микрозаймы',
		'name_admin_bar'        => '',
		'archives'              => 'Item Archives',
		'attributes'            => 'Item Attributes',
		'parent_item_colon'     => '',
		'all_items'             => 'All Items',
		'add_new_item'          => 'Add New Item',
		'add_new'               => 'Add New mikrozajm',
		'new_item'              => 'New Item',
		'edit_item'             => 'Edit Item',
		'update_item'           => 'Update Item',
		'view_item'             => 'View Item',
		'view_items'            => 'View Items',
		'search_items'          => '',
		'not_found'             => 'Not found',
		'not_found_in_trash'    => '',
		'featured_image'        => 'Featured Image',
		'set_featured_image'    => '',
		'remove_featured_image' => '',
		'use_featured_image'    => '',
		'insert_into_item'      => '',
		'uploaded_to_this_item' => '',
		'items_list'            => 'Items list',
		'items_list_navigation' => '',
		'filter_items_list'     => '',
	);
	$args = array(
		'label'                 => 'mikrozajm',
		'labels'                => $labels,
		'supports'              => array( 'title', 'editor', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ),
		'hierarchical'          => false,
		'public'                => true,
		'show_ui'               => true,
		'show_in_menu'          => true,
		'menu_position'         => 5,
		'menu_icon'             => 'dashicons-money',
		'show_in_admin_bar'     => true,
		'show_in_nav_menus'     => true,
		'can_export'            => true,
		'has_archive'           => true,
		'exclude_from_search'   => false,
		'publicly_queryable'    => true,
		'rewrite'               => false,
		'capability_type'       => 'post',
	);
	register_post_type( 'mikrozajmy', $args );

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