fabacab / multisite-directory

:card_index::globe_with_meridians: Add a browseable, flexible directory of the sites in a WP Multisite network.
https://wordpress.org/plugins/multisite-directory/
GNU General Public License v2.0
1 stars 6 forks source link
wordpress-plugin wp-multisite

Multisite Directory

Build Status for develop branch

A WordPress plugin that makes it easy to add a Network-wide "Site Directory" to your WP Multisite install.

Running tests

Multisite Directory is intended only for WP Multisite installs (as the name implies). Therefore, when you run tests locally, do:

WP_MULTISITE=1 phpunit

If you don't set the WP_MULTISITE environment variable, the tests will still run, but you will be testing a single-site install, and the plugin doesn't really do anything interesting on single-site installs (for obvious reasons).