Land Page
// Register Custom Post Type
function custom_post_type_land_page() {
$labels = array(
'name' => 'דפי נחיתה',
'singular_name' => 'דף נחיתה',
'menu_name' => 'דפי נחיתה',
'name_admin_bar' => 'דפי נחיתה',
'parent_item_colon' => 'אב דף נחיתה',
'all_items' => 'כל דפי הנחיתה',
'add_new_item' => 'הוסף דף נחיתה',
'add_new' => 'הוסף דף נחיתה',
'new_item' => 'הוסף דף נחיתה',
'edit_item' => 'ערוך דף נחיתה',
'update_item' => 'דכן דף נחיתה',
'view_item' => 'ראה דף נחיתה',
'search_items' => 'חפש דף נחיתה',
'not_found' => 'לא נמצא דף נחיתה',
'not_found_in_trash' => 'לא נמצא דף נחיתה באשפה',
);
$args = array(
'label' => 'land_page',
'description' => 'Post Type Land Page Description',
'labels' => $labels,
'supports' => array( 'title', 'editor', 'excerpt', 'author', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'page-attributes', 'post-formats', ),
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'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',
);
register_post_type( 'land_page', $args );
}
// Hook into the 'init' action
add_action( 'init', 'custom_post_type_land_page', 0 );