Title: Multiple Plugin Submenu Items &#8211; 1 Top Level Network Admin Menu
Last modified: August 20, 2016

---

# Multiple Plugin Submenu Items – 1 Top Level Network Admin Menu

 *  [munrobr](https://wordpress.org/support/users/munrobr/)
 * (@munrobr)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/multiple-plugin-submenu-items-1-top-level-network-admin-menu/)
 * Hi, I’m actually new to WordPress and pHp in general. I’m currently a student(
   so take it easy on me, because I’m bound to be doing things incorrectly).
 * I currently have written 2 network plugins for use on an intranet site. What 
   I want to do is place all of my custom plugins in 1 top-level admin menu. It’s
   easy enough if I do the following:
 *     ```
       add_menu_page('Plugin Title', 'Page Title', 'Capability', 'Menu Slug', 'Function');
               add_submenu_page('Parent Slug','Page Title','Menu Title','manage_options','Menu Slug','Function');
               add_submenu_page('Parent Slug','Page Title','Menu Title','manage_options','Menu Slug','Function');
       ```
   
 * This gives me a nice little layout of the top menu, and 3 sub-menu links (1 being
   the same as the top).
 * The problem I’m having is activating submenu items from the plugins themselves.
   Right now the two plugin are independent of eachother, and this third plugin 
   is basically just a menu, with a list of active plugins for reference at the 
   moment. Ideally I’d like to activate the menu links within the plugins so I don’t
   have to update the source code for the menu all the time. This way any plugins
   developed in the future could just hop on to that top-level menu item.
 * Any ideas?

Viewing 1 replies (of 1 total)

 *  [marcdubeau](https://wordpress.org/support/users/marcdubeau/)
 * (@marcdubeau)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-plugin-submenu-items-1-top-level-network-admin-menu/#post-2548447)
 * Found this. It might be what you are looking for:
    [http://sumtips.com/2011/03/customize-wordpress-admin-bar.html](http://sumtips.com/2011/03/customize-wordpress-admin-bar.html)

Viewing 1 replies (of 1 total)

The topic ‘Multiple Plugin Submenu Items – 1 Top Level Network Admin Menu’ is closed
to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [network](https://wordpress.org/support/topic-tag/network/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [marcdubeau](https://wordpress.org/support/users/marcdubeau/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/multiple-plugin-submenu-items-1-top-level-network-admin-menu/#post-2548447)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
