PHPackages                             objectivco/network-subsite-menu - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. objectivco/network-subsite-menu

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

objectivco/network-subsite-menu
===============================

1.1.1(8y ago)41.8k2PHP

Since Jan 18Pushed 8y ago2 watchersCompare

[ Source](https://github.com/clifgriffin/network-subsite-menu)[ Packagist](https://packagist.org/packages/objectivco/network-subsite-menu)[ RSS](/packages/objectivco-network-subsite-menu/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Network Subsite Menu
====================

[](#network-subsite-menu)

Posted in case anyone finds it useful. This is definitely a scratch your own niche (get it??) kind of plugin.

Basically, if you have a multisite and you want to create a global menu with some or all of your subsites and show which subsite you're on, this will help you build that menu.

To use it, Network Activate it and then go to Settings -&gt; Network Menu.

You'll see a list of your subsites, with a checkbox to enable or disable that subsite in the menu. There is also a field to set the menu label.

Implementation
--------------

[](#implementation)

Once you've configured it, just drop this somewhere:

```
wp_nav_menu( array('menu' => 'network_subsite_menu') );
```

In reality, the plugin doesn't really use `wp_nav_menu`, so you're going to be pretty dissappointed if you try to pass other options. It's building out the menu manually, using the standard WordPress nav menu HTML and then circumventing the whole nav menu function by directly returning the output.

The only parameter that will work is `echo`.

Filters
-------

[](#filters)

If you need anything beyond the basics, these filters should get you there in theory:

### cgd\_network\_subsite\_menu\_settings

[](#cgd_network_subsite_menu_settings)

Filter the whole settings object. You could change the order of menu items here.

### cgd\_network\_subsite\_menu\_before

[](#cgd_network_subsite_menu_before)

Lets you insert menu items before the main menu item loop.

### cgd\_network\_subsite\_menu\_after

[](#cgd_network_subsite_menu_after)

Lets you insert menu items after the main menu item loop.

### cgd\_network\_subsite\_menu\_site\_info

[](#cgd_network_subsite_menu_site_info)

Filter the url, label, and set whether or not the current menu item is the current one.

To see how these actually work, look at the code dawg.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Total

4

Last Release

3053d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85bbb15622b7f0e78a944ef64e996941480395283be13da5084344ed4b773d56?d=identicon)[clifgriffin](/maintainers/clifgriffin)

---

Top Contributors

[![clifgriffin](https://avatars.githubusercontent.com/u/682201?v=4)](https://github.com/clifgriffin "clifgriffin (14 commits)")

### Embed Badge

![Health badge](/badges/objectivco-network-subsite-menu/health.svg)

```
[![Health](https://phpackages.com/badges/objectivco-network-subsite-menu/health.svg)](https://phpackages.com/packages/objectivco-network-subsite-menu)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19246.3k2](/packages/civicrm-civicrm-drupal-8)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3355.8k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
