Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When using WordPress Multisite with many sites, it would be nice to store them into categories. Site categories that is, not post categories.

Maybe there is a way to use some kind of site meta / custom fields for sites? Is there one? How to use it?

A plugin would be nice, or an example of a start, what hooks / functions to use.

share|improve this question
    
Haven't you upgraded to Multisite yet? mu.wordpress.org –  brasofilo Jan 10 '13 at 7:54
    
Yes I have. Updated my post. –  Jens Törnell Jan 10 '13 at 8:14
add comment

1 Answer

up vote 0 down vote accepted

Answering to this Question, Multisite: How to add Custom Blog Options to new blog setup form?, I ended up doing a plugin that does exactly that: adds a blog meta field to give each site a Category.

It's a simple meta field, meaning: no category tree. I just revised the code and updated. Available in GitHub.

Main hooks:

multisite categories

share|improve this answer
    
Would be nice to click the column header to sort sites by category, like "domain" and "last updated". –  Jens Törnell Jan 17 '13 at 9:28
    
@JensTörnell, I tried it once. Checking again now: a query filter has to be applied to manipulate this SQL command, but I don't know how to do it. –  brasofilo Jan 17 '13 at 14:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.