Multisite Site Category
WordPress plugin for adding a custom meta to New Sites
by Rodolfo Buaiz · github.com/brasofilo/multisite-site-category · website
★ 38stars
10forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/brasofilo/multisite-site-category/archive/refs/heads/master.zipFrom the readme
Multisite Site Category
WordPress plugin for managing sites categories.
Description
The plugin adds a new field "category" to the Site Info screen.
A sortable column is also added in the Sites list screen.
A Categories submenu is created under Sites, add or remove categories there.
The column mature in the table wpblogs is being used as index to the categories.
This is a workaround to allow sorting the sites based on categories.
There's a filter being applied (except in the sites screen) that tells WordPress that the site is not mature:
Sooo... this workaround assumes the Multisite doesn't contain mature material ;)
Right now, there's no category selection when creating or signing up for new sites.
The code from the old plugin is still present, but inactive.
To be able to sort the sites, the logic changed a lot and I haven't revised the new site features.
Available hooks:
Originally based on this WordPress Question.
Here's a copy of the first version of the plugin.
Installation
1. Unpack the download-package
1. Upload the file to the /wp-content/plugins/ directory
1. Activate the plugin through the 'Network Plugins' menu in WordPress
Screenshots
Sites Manager