Title: Adding Custom Post Type
Last modified: August 20, 2016

---

# Adding Custom Post Type

 *  [bbarton](https://wordpress.org/support/users/bbarton/)
 * (@bbarton)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-post-type/)
 * I have added a menu item with custom post type and I am adding it to a admin 
   menu i created with add_menu_page(), menu looks like below
 * Top-level menu item
    -menu item (created with register_post_type()) -menu item#
   1 (created with add_submenu_page()) -menu item #2 (created with add_submenu_page())
 * so when i add a new post through my new custom post type, the highlighted menu
   item changes to #1. If I add another custom post type and add it to the menu 
   it will always highlight #1 when clicking add post through either custom post
   type menu.
 * Any clue why this is happening?

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

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [bbarton](https://wordpress.org/support/users/bbarton/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/adding-custom-post-type/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
