Multisite Directory provides a customizable Network-wide site directory for WordPress Multisite installations. You can categorize subsites in your Network, add full-length descriptions and featured images to them, and more. Theme developers can customize the look and feel of the site directory using all the tools they’re already familiar with. Blog authors can use a highly-configurable shortcode ([site-directory]
) to display the directory anywhere shortcodes are supported.
Each time a new site or blog is added to your Network, a corresponding entry in the site directory is added, too. The directory is managed from the Network’s main site, but most changes to the subsites (other blogs) automatically update the directory. Many parts of a given site’s appearance in the directory can be modified without affecting the site itself. This means a Super Admin can use a custom site logo, tagline, and so on in the directory itself, without changing the site’s actual logo, tagline, and so on. Additional options in the Network Settings → Network Directory section allows Super Admins to tweak the bells and whisltes, such as keeping Directory Entry titles in sync with Site Name changes.
Site directory entries are implemented as a hierarchical custom post type in the main site. These pages can be categorized with a custom subsite_category
taxonomy. We’ve found that this combination allows maximum flexibility while providing the tightest integration with existing WordPress core features. As a result, no new tables are added to your install, and no side effects are introduced. It Just Works.(TM)
Quickstart guide
After installing the plugin, you’ll want to:
Check out the Screenshots for a few examples.
This plugin provides a number of functions to Theme authors so that they can make use of the Multisite Network Directory features in their themes. This section documents those functions. For implementation details, see this plugin’s includes/functions.php
file.
Gets all categories in the site directory.
Gets the categories assigned to a given blog in the network directory.
Prints the site’s custom logo or the site directory entry’s featured image, if it has one.