Stay up to date

WITH OUR BLOG

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’ );