This really simple plugin lets you assign a category for each blog on some WordpressMU installation. It’s also possible to get or list the blogs providing a category.
The categories are stored as option strings on the blog options table, and they can be set through the “Misc Options” section of the blog options.
Once installed, you’ll have the following functions available to use on your templates:
Get the category of a blog.
`blog_categories_get($id)`
Get a list of blogs with the category provided.
`blog_categories_get_list($category)`
List the blogs with the category provided.
`blog_categories_list($category)`
Download it here.
Installation
1. Upload the `blog-categories.php` file to the mu-plugins directory.
2. Use some of the functions on your template.
As this is a WPMU plugin, no activation is required.
This is how “Misc Options” will be shown after installed. Just put up the category of the blog here.
Changelog
= 0.01 =
* Plugin released. That’s it.
