Title: Custom Post Type Not Working
Last modified: August 20, 2016

---

# Custom Post Type Not Working

 *  Resolved [wiziology](https://wordpress.org/support/users/wiziology/)
 * (@wiziology)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/custom-post-type-not-working/)
 * my site is located at [http://beta.limelightmich.com](http://beta.limelightmich.com)
 * I currently have 3 custom post types.
    1) News 2) Projects 3) Services
 * news and projects pull a page just fine but for some reason, clicking on any 
   of the services gives you a “not found” error. Can anyone tell me why this might
   be happening? Using WP 3.1.2. My code is below. Any help would be appreciated!!!
 *     ```
       add_action( 'init', 'create_post_type' );
       function create_post_type() {
       	register_post_type( 'News',
       		array(
       			'labels' => array(
       				'name' => __( 'News'),
       				'singular_name' => __( 'News' ),
       				'add_new' => __('Add News Article'),
       				'add_new_item' => ('Add News Article'),
       				'menu_name' => ("News")
       			),
       		'public' => true,
       		'menu_position' => 5,
       		'has_archive' => true,
           	'supports' => array('title','editor','author','thumbnail','comments')
       		)
       	);
       	register_post_type( 'Projects',
       		array(
       			'labels' => array(
       				'name' => __( 'Projects'),
       				'singular_name' => __( 'Project' ),
       				'add_new' => __('Add Project'),
       				'add_new_item' => ('Add Project'),
       				'menu_name' => ("Projects")
       			),
       		'public' => true,
       		'menu_position' => 5,
       		'has_archive' => true,
           	'supports' => array('title','editor','author','thumbnail','comments')
       		)
       	);
       		register_post_type( 'Services',
       		array(
       			'labels' => array(
       				'name' => __( 'Services'),
       				'singular_name' => __( 'Service' ),
       				'add_new' => __('Add Service'),
       				'add_new_item' => ('Add Service'),
       				'menu_name' => ("Services")
       			),
       		'public' => true,
       		'menu_position' => 5,
       		'has_archive' => true,
           	'supports' => array('title','editor','author','thumbnail','comments')
       		)
       	);
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  Thread Starter [wiziology](https://wordpress.org/support/users/wiziology/)
 * (@wiziology)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/custom-post-type-not-working/#post-2087444)
 * I have solved my problem. The solution can be found here.
 * [http://www.squidoo.com/wordpress-not-found-error-fix](http://www.squidoo.com/wordpress-not-found-error-fix)

Viewing 1 replies (of 1 total)

The topic ‘Custom Post Type Not Working’ is closed to new replies.

## Tags

 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)
 * [WordPress 3.1.2](https://wordpress.org/support/topic-tag/wordpress-3-1-2/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [wiziology](https://wordpress.org/support/users/wiziology/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/custom-post-type-not-working/#post-2087444)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
