WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right now, I understand by registering a custom post type, a list/edit page for it will appear in the admin menu in wp-admin.

Is it possible to have a second list or edit page for the custom post type? The situation is that I am adding a functionality to WooCommerce's shop_order custom post type. If the user is of a certain role, he is able to view a limited info of the shop_order posts. So I would like to add in another admin page that would display the custom_post_type without messing with WooCommerce's one.

share|improve this question

Yes, that is absolutely possible.

Have a look at the add_menu_page() function and use it like so:

    'My 2nd CPT Menu',               // page title
    'My 2nd CPT Menu',               // menu title
    'edit_post'                      // required cap, same as in register_post_type()
    'edit.php?post_type=yourCPT',    // edit.php + query string as slug <-- this is essential
    '',                              // empty callback
    'relpath/to/icon.png',           // optional icon file
    101                              // optional menu position

Analogously, this can be done in a very similar fashion with submenu pages.

share|improve this answer
Thank you; however, if I don't specify a callback, does this means it will use back whatever admin settings the custom post type already has? Is there anyway to ovide a custom set of settings (such as what column is displayed and etc.) for the 2nd CPT admin page? – Extrakun Oct 23 '12 at 6:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.