Register custom post type

function colourmedia_post_type() {
    $args = array(
        'public'    => true,
        'label'     => __( 'BackendName', 'textdomain' ),
		 'supports'           => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'comments', 'custom-fields' ),
        'menu_icon' => 'dashicons-megaphone',
    );
    register_post_type( 'colourmedia', $args );
}
add_action( 'init', 'colourmedia_post_type' );


Author: Wojciech Borowicz

I hope this post will help you to do what you need.
In case you want some assistance click here to get in touch 

check out other blog posts