// Register Custom Post Type function post_type_exhibitors() { $labels = array( 'name' => _x( 'Exhibitors', 'Post Type General Name', 'nake-benehime' ), 'singular_name' => _x( 'Exhibitor', 'Post Type Singular Name', 'nake-benehime' ), 'menu_name' => __( 'Exhibitors', 'nake-benehime' ), 'name_admin_bar' => __( 'Post Type', 'nake-benehime' ), 'archives' => __( 'Item Archives', 'nake-benehime' ), 'attributes' => __( 'Item Attributes', 'nake-benehime' ), 'parent_item_colon' => __( 'Parent Item:', 'nake-benehime' ), 'all_items' => __( 'All Exhibitos', 'nake-benehime' ), 'add_new_item' => __( 'Add New Exhibitor', 'nake-benehime' ), 'add_new' => __( 'Add New', 'nake-benehime' ), 'new_item' => __( 'New Item', 'nake-benehime' ), 'edit_item' => __( 'Edit Exhibitor', 'nake-benehime' ), 'update_item' => __( 'Update Exhibitor', 'nake-benehime' ), 'view_item' => __( 'View Exhibitor', 'nake-benehime' ), 'view_items' => __( 'View Items', 'nake-benehime' ), 'search_items' => __( 'Search Exhibitor', 'nake-benehime' ), 'not_found' => __( 'Not found', 'nake-benehime' ), 'not_found_in_trash' => __( 'Not found in Trash', 'nake-benehime' ), 'featured_image' => __( 'Featured Image', 'nake-benehime' ), 'set_featured_image' => __( 'Set featured image', 'nake-benehime' ), 'remove_featured_image' => __( 'Remove featured image', 'nake-benehime' ), 'use_featured_image' => __( 'Use as featured image', 'nake-benehime' ), 'insert_into_item' => __( 'Insert into item', 'nake-benehime' ), 'uploaded_to_this_item' => __( 'Uploaded to this item', 'nake-benehime' ), 'items_list' => __( 'Items list', 'nake-benehime' ), 'items_list_navigation' => __( 'Items list navigation', 'nake-benehime' ), 'filter_items_list' => __( 'Filter items list', 'nake-benehime' ), ); $args = array( 'label' => __( 'Exhibitor', 'nake-benehime' ), 'description' => __( 'Used for managing and displaying exhibitor logos', 'nake-benehime' ), 'labels' => $labels, 'supports' => array( 'title', 'thumbnail', 'page-attributes', 'post-formats' ), 'taxonomies' => array( 'category', 'post_tag', 'post_formats' ), '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' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'exhibitors', $args ); } add_action( 'init', 'post_type_exhibitors', 0 );