I’ve studied Justin’s article from top to bottom over the last few days and can’t find what I’m doing wrong.
I’ve tried adding:
add_action('init', 'post_type_videos');
function post_type_videos() {
$args = array(
'label' => __('Videos'),
'singular_label' => __('Video'),
'public' => true,
'show_ui' => true,
'hierarchical' => false,
'rewrite' => array( 'slug' => 'video', 'with_front' => false ),
'supports' => array('title', 'thumbnail', 'editor')
);
register_post_type( 'videos' , $args );
}
but to no avail…