Vineyards
St Hallett Wines Vineyards
// Register Custom Post Type function custom_post_type() { $labels = array( 'name' => _x( 'Vineyards', 'Post Type General Name', 'text-vineyard' ), 'singular_name' => _x( 'Vineyard', 'Post Type Singular Name', 'text-vineyard' ), 'menu_name' => __( 'Vineyards', 'text-vineyard' ), 'parent_item_colon' => __( 'Parent Vineyard:', 'text-vineyard' ), 'all_items' => __( 'All Vineyards', 'text-vineyard' ), 'view_item' => __( 'View Vineyard', 'text-vineyard' ), 'add_new_item' => __( 'Add New Vineyard', 'text-vineyard' ), 'add_new' => __( 'Add New Vineyard', 'text-vineyard' ), 'edit_item' => __( 'Edit Vineyard', 'text-vineyard' ), 'update_item' => __( 'Update Vineyard', 'text-vineyard' ), 'search_items' => __( 'Search Vineyards', 'text-vineyard' ), 'not_found' => __( 'Not Vineyards found', 'text-vineyard' ), 'not_found_in_trash' => __( 'No Vineyards found in Trash', 'text-vineyard' ), ); $args = array( 'label' => __( 'post_type_vineyard', 'text-vineyard' ), 'description' => __( 'Vineyards added to the Vine Web App', 'text-vineyard' ), 'labels' => $labels, 'supports' => array( 'title', ), 'taxonomies' => array( 'cat_vineyard', 'post_tag_vineyard' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-location', 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'post_type_vineyard', $args ); } // Hook into the 'init' action add_action( 'init', 'custom_post_type', 0 );