• Hello all,

    Thanks for the help in advance. I am trying to create a page that is accessible via the admin interface, and uses the overall admin theme, ex:

    /wp-admin/admin.php?page=page_slug

    Currently I am using the function add_submenu_page to create the pages I need. However, I do not wish to create a submenu for these pages.

    I’d rather not have any menu at all. Can I create admin pages without creating menu items for them?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter abecks

    (@abecks)

    Bump. Anyone have any ideas?

    I have looked for some clues to answer your question, unfortunately I could not find anything.

    Why is it you would like to create admin pages that do not show in the menu? Seems a very strange request!

    I am sure you could probably exclude the page as you would with frontpage pages, I am not sure how though!

    Please let us know if you resolve this,
    ~Shane Hudson

    Thread Starter abecks

    (@abecks)

    Hi Shane,

    I’ve created a plugin that acts like a very simple inventory management system. The menuitems I want to have are “Manage Inventory” and “Add A Product”.

    On the “Manage Inventory” page, each product is listed, with Edit and Delete buttons. When you click edit, I need to goto a page within the admin section to edit that product, and I’d still like to use the admin theme, etc. as part of that page. Right now I have a menu item for “Edit a Product” because I dont know how to create a page that uses the admin theme without adding the page w/ a menu.

    I am at the same case. I want to create a custom page available on admin panel without creating submenu and even the layout should be not embedded to wp admin interface, so it was independent page.

    I’m about calling it on thickbox when a button clicked. So its looks something like media-upload.php.

    Any clue how to do that?

    you can use a plugin like “Admin Menu Editor” in order to hide some menu… Don’t know how to code it directly on the plugin…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Creating an admin page without creating a submenu’ is closed to new replies.