Go to
<a> Wordpress admin panel.
<b> Appearance.
<c> Editor.
<d> Open config.php file from 'Themes Functions' section.
<e> Append the following code in 'functions.php' file...
<f> Here post type name is 'Programs'.
<g> You may call anything instead of 'Programs'.
add_action( 'init', 'prowp_register_my_post_types' );
function prowp_register_my_post_types()
{
register_post_type( 'programs',
array(
'labels' => array(
'name' => 'Programs',
'singular_name' => 'Programs',
'add_new' => 'Add New Programs',
'add_new_item' => 'Add New Programs',
'edit_item' => 'Edit Programs',
'new_item' => 'New Programs',
'all_items' => 'All Programs',
'view_item' => 'View Programs',
'search_items' => 'Search Programs',
'not_found' => 'No programs found',
'not_found_in_trash' => 'No Programs found in Trash',
'parent_item_colon' => '',
'menu_name' => 'Programs'
),
'public' => true,
'public' => true,
'has_archive' => true,
'taxonomies' => array( 'category' ),
'rewrite' => array( 'slug' => 'product' ),
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'comments' )
)
);
}