<?php
/*-----------------------------------------------------------------------------------*/
/* Register Custom Post Types - Gallerys */
/*-----------------------------------------------------------------------------------*/
function register_gallery_post_type(){
	register_post_type('gallery', array(
		'labels' => array(
			'name' => _x('Gallerys', 'post type general name', THEME_ADMIN_DOMAIN ),
			'singular_name' => _x('Gallery', 'post type singular name', THEME_ADMIN_DOMAIN ),
			'add_new' => _x('Add New', 'gallery', THEME_ADMIN_DOMAIN ),
			'add_new_item' => __('Add New Gallery', THEME_ADMIN_DOMAIN ),
			'edit_item' => __('Edit Gallery', THEME_ADMIN_DOMAIN ),
			'new_item' => __('New Gallery', THEME_ADMIN_DOMAIN ),
			'view_item' => __('View Gallery', THEME_ADMIN_DOMAIN ),
			'search_items' => __('Search Gallerys', THEME_ADMIN_DOMAIN ),
			'not_found' =>  __('No gallerys found', THEME_ADMIN_DOMAIN ),
			'not_found_in_trash' => __('No gallerys found in Trash', THEME_ADMIN_DOMAIN ),
			'parent_item_colon' => ''
		),
		'singular_label' => __('gallery', THEME_ADMIN_DOMAIN ),
		'public' => false,
		'exclude_from_search' => false,
		'show_ui' => true,
		'capability_type' => 'post',
		'hierarchical' => false,
		'rewrite' => true,
		'query_var' => false,
		'supports' => array('title', 'excerpt')
	));
}
add_action('init','register_gallery_post_type');
