// Register Custom Post Type function custom_post_type_album() { $labels = array( 'name' => 'אלבומים', 'singular_name' => 'אלבום', 'menu_name' => 'אלבומים', 'name_admin_bar' => 'אלבומים', 'archives' => 'Item Archives', 'attributes' => 'Item Attributes', 'parent_item_colon' => 'אב אלבום', 'all_items' => 'כל האלבומים', 'add_new_item' => 'הוסף אלבום', 'add_new' => 'הוסף אלבום', 'new_item' => 'הוסף אלבום', 'edit_item' => 'ערוך אלבום', 'update_item' => 'עדכן אלבום', 'view_item' => 'ראה אלבום', 'view_items' => 'View Items', 'search_items' => 'חפש אלבום', 'not_found' => 'לא נמצאו אלבומים', 'not_found_in_trash' => 'לא נמצאו אלבומים אשפה', 'featured_image' => 'Featured Image', 'set_featured_image' => 'Set featured image', 'remove_featured_image' => 'Remove featured image', 'use_featured_image' => 'Use as featured image', 'insert_into_item' => 'Insert into item', 'uploaded_to_this_item' => 'Uploaded to this item', 'items_list' => 'Items list', 'items_list_navigation' => 'Items list navigation', 'filter_items_list' => 'Filter items list', ); $args = array( 'label' => 'אלבום', 'description' => 'Post Type Description Albums', 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => false, 'has_archive' => false, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'album', $args ); } add_action( 'init', 'custom_post_type_album', 0 );