All sorted I put this in my functions file:
/* custom post type for news */
add_action( 'init', 'create_post_type' );
function create_post_type() {
register_post_type('tfh_news',
array(
'label' => __('News'),
'singular_label' => __('News'),
'public' => true,
'show_ui' => true,
'capability_type' => 'post',
'hierarchical' => false,
'rewrite' => array('slug' => 'news', 'with_front' => false ),
'supports' => array('title', 'editor', 'excerpt', 'author', 'thumbnail'),
'menu_position' => NULL,
'can_export' => true,
));
}
and to do the output i used:
<?php
$loop = new WP_Query( array( 'post_type' => 'tfh_news', 'posts_per_page' => 10 ) );
while ( $loop->have_posts() ) : $loop->the_post(); ?>