array( 'name' => 'Rooms', 'singular_name' => 'Room', 'add_new' => 'Add New', 'add_new_item' => 'Add New Room', 'edit' => 'Edit', 'edit_item' => 'Edit Room', 'new_item' => 'New Room', 'view' => 'View', ), 'public' => true, 'has_archive' => 'rooms', 'taxonomies' => array('category'), 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', ), 'rewrite' => array( 'slug' => 'room', ), ) ); register_post_type( 'tenant', array( 'labels' => array( 'name' => 'Tenants', 'singular_name' => 'Tenant', 'add_new' => 'Add New', 'add_new_item' => 'Add New Tenant', 'edit' => 'Edit', 'edit_item' => 'Edit Tenant', 'new_item' => 'New Tenant', 'view' => 'View', ), 'public' => true, 'has_archive' => 'tenants', 'taxonomies' => array('category'), 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', ), 'rewrite' => array( 'slug' => 'tenant', ), ) ); register_post_type( 'event', array( 'labels' => array( 'name' => 'Events', 'singular_name' => 'Event', 'add_new' => 'Add New', 'add_new_item' => 'Add New Event', 'edit' => 'Edit', 'edit_item' => 'Edit Event', 'new_item' => 'New Event', 'view' => 'View', ), 'public' => true, 'has_archive' => 'events', 'taxonomies' => array('venue'), 'menu_icon' => 'dashicons-calendar-alt', 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', ), 'rewrite' => array( 'slug' => 'event', ), ) ); } add_action('init', 'factory_register_post_type'); /* ------------------------------------- */ $labels = array( 'name' => __('Venues', 'pes'), 'singular_name' => __('Venue', 'pes'), 'search_items' => __('Search venues', 'pes'), 'all_items' => __('All venues', 'pes'), 'parent_item' => __('Parent Venue', 'pes'), 'parent_item_colon' => __('Parent Venue:', 'pes'), 'edit_item' => __('Edit Venue', 'pes'), 'update_item' => __('Update Venue', 'pes'), 'add_new_item' => __('Add New Venue', 'pes'), 'new_item_name' => __('New Venue', 'pes'), // 'separate_items_with_commas' => __('Separate departments with commas', 'pes'), 'add_or_remove_items' => __('Add or remove venue', 'pes'), // 'choose_from_most_used' => __('Choose from the most used departments', 'pes'), 'not_found' => __('None were found.', 'pes'), 'menu_name' => __('Venues', 'pes'), ); $args = array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'show_admin_column' => true, 'update_count_callback' => '_update_post_term_count', 'query_var' => true, 'rewrite' => array('slug' => 'venue') ); register_taxonomy('venue', array('event'), $args); Our Tenants – The Factory
Skip to content
  • The Factory
    • Art In The Attic
    • Basement Art
  • Facilities Hire
    • Meeting Room Hire
    • Venue Hire
    • Booking
  • About Us
    • About The Factory
    • History
    • Contact Us
    • Our Tenants
    • Privacy Policy
  • News