/*-----------------------------------------------------------------------------------*/
/* Create Custom Post Types
/*-----------------------------------------------------------------------------------*/
function mts_posttype_register() {
//Project Post type
$args = array(
'label' => __('Projects', 'pointpro'),
'singular_label' => __('Project', 'pointpro'),
'public' => true,
'show_ui' => true,
'capability_type' => 'post',
'hierarchical' => false,
'rewrite' => false,
'publicly_queryable' => true,
'query_var' => true,
'menu_position' => 5,
'menu_icon' => 'dashicons-id',
'has_archive' => true,
'supports' => array('title', 'editor', 'thumbnail'),
'rewrite' => array("slug" => "project"), // Permalinks format
);