I am getting an error saying ; shouldn't be there. Can anyone see a problem?
//featured custom post type
add_action( 'init','featured_post_types');
function featured_post_types() {
register_post_type('featured_post',
array(
'labels' => array(
'name' => __('Featured Posts'),
'singular_name' => __('Featured Post'),
'add_new' => __('Add New'),
'add_new_item' => __('Add New Featured Post'),
'edit' => __('Edit'),
'edit_item' => __('Edit Featured Post'),
'new_item' => __('New Featured Post'),
'view' => __('View Featured Post'),
'view_item' => __('View Featured Post'),
'search_items' => __('Search Featured Posts'),
'not_found' => __('No Featured Posts Found'),
'not_found_in_trash' => __('No Featured Posts Found in Trash'),
),
'description' => __('This is for featured posts, I made it for the front page'),
'public' => true,
'show_ui' => true,
'menu_position' => 20,
'supports' => array('title','editor','excerpt','thumbnail','custom-fields'),
'rewrite' => array('slug' => 'featured','with-front' => false )
) }