Support » Plugins » adding menu’s (want opinions)

  • I was wanting a little input from other people as to what I should do for admin menu’s for my plugin. I’m trying to decide if I should use a top menu, or just put my three sub menus in their respective spots.
    Thus far there will be three sub menus. One pertaining to display options (I’d put it under presentation), one with options pertaining to who can do what (I’d put it under users), and the last one would be for uninstalling my plugin (and it would go under plugins). So which would ya’ll prefer. I know I’d rather have them in one central location, since they are for one specific plugin, but is that ya’lls opinion?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Most plugins that have multiple admin pages keep them all in one single place. You should stick to that practice – otherwise you will spend all your time here in the forum answering questions about how to find your subpages… 🙂

    Ok thanks. Now a couple question about the codex.

    First, when you a top level menu does it create a submenu with it, and if it doesn’t how do you send it too a submenu?
    Second question,
    “add_menu_page(__(‘Display Options’), __(‘User Info’), 10, ‘User-Info/User-Info-options.php’, ‘User_Info_display’);”
    Is that right?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adding menu’s (want opinions)’ is closed to new replies.