Title: Custom Post Types?
Last modified: August 21, 2016

---

# Custom Post Types?

 *  [micdt](https://wordpress.org/support/users/micdt/)
 * (@micdt)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/custom-post-types-111/)
 * Hey Julien,
    Good work, but I wonder how to set Custom Post Types. Some screenshots
   I have seen make me think it should be possible. But I can’t chose any on my 
   local installation.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Theme Author [shprink](https://wordpress.org/support/users/shprink/)
 * (@shprink)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-types-111/#post-4511382)
 * First of all sorry if I took 6 days to answer.. It seems that I do not receive
   any notification when someone add a post here..
 * There is no specific behavior for custom post types in Shprinkone sorry. What
   is your need exactly?
 *  [Michel Marrache](https://wordpress.org/support/users/marracheco/)
 * (@marracheco)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-types-111/#post-4511452)
 * Try something like this:
 * `
    /* * Add custom post type for categories * * @return void */ function codex_custom_menu_post_init(){
   $labels = array( 'name' => 'Menu', 'singular_name' => 'Menu', 'add_new' => 'Add
   New', 'add_new_item' => 'Add New Menu', 'edit_item' => 'Edit Menu', 'new_item'
   => 'New Menu', 'all_items' => 'All Menu Items', 'view_item' => 'View Menu', '
   search_items' => 'Search Menu', 'not_found' => 'No menu found', 'not_found_in_trash'
   => 'No menu found in Trash', 'parent_item_colon' => '', 'menu_name' => 'Menu');
   $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' =>
   true, 'show_ui' => true, 'show_in_menu' => true, 'query_var' => true, 'rewrite'
   => array( 'slug' => 'menu' ), 'capability_type' => 'post', 'has_archive' => true,'
   hierarchical' => false, 'menu_position' => 5, 'menu_icon' => "dashicons-editor-
   justify", 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields'/*,'
   excerpt'*/), 'taxonomies' => array( 'post_tag', 'category' ) ); register_post_type('
   menu', $args ); } add_action( 'init', 'codex_custom_menu_post_init' );

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Post Types?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/shprink-one/2.4.1/screenshot.png)
 * Shprink One
 * [Support Threads](https://wordpress.org/support/theme/shprink-one/)
 * [Active Topics](https://wordpress.org/support/theme/shprink-one/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/shprink-one/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/shprink-one/reviews/)

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [microformat](https://wordpress.org/support/topic-tag/microformat/)

 * 2 replies
 * 3 participants
 * Last reply from: [Michel Marrache](https://wordpress.org/support/users/marracheco/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/custom-post-types-111/#post-4511452)
 * Status: not resolved