//Add Products Post Type
function product_register() {
$args = array(
'label' => __('Products'),
'singular_label' => __('Product'),
'public' => true,
'show_ui' => true,
'capability_type' => 'post',
'hierarchical' => false,
'rewrite' => array('slug'=>'products'),
'supports' => array('title', 'editor', 'thumbnail', 'excerpt'),
'show_in_nav_menus' => true
);
register_post_type( 'product' , $args );
}
add_action('init', 'product_register');