<?php
  
function wpv_register_type_view_template() 
{
  $labels = array(
    'name' => _x('View templates', 'post type general name'),
    'singular_name' => _x('View template', 'post type singular name'),
    'add_new' => _x('Add New', 'book'),
    'add_new_item' => __('Add New View Template', 'wpv-views'),
    'edit_item' => __('Edit View Template', 'wpv-views'),
    'new_item' => __('New View Template', 'wpv-views'),
    'view_item' => __('View Views-Templates', 'wpv-views'),
    'search_items' => __('Search View Templates', 'wpv-views'),
    'not_found' =>  __('No view templates found', 'wpv-views'),
    'not_found_in_trash' => __('No view templates found in Trash', 'wpv-views'), 
    'parent_item_colon' => '',
    'menu_name' => 'View Templates'

  );
  $args = array(
    'labels' => $labels,
    'public' => false,
    'publicly_queryable' => false,
    'show_ui' => false, 
    'show_in_menu' => false, 
    'query_var' => false,
    'rewrite' => false,
    'can_export' => false,
    'capability_type' => 'post',
    'has_archive' => false, 
    'hierarchical' => false,
    'menu_position' => null,
    'supports' => array('title','editor','author')
  ); 
  register_post_type('view-template',$args);
}
