I suspect that this is not possible right now, but oh well.. I’ll ask, maybe one of you has some intersting thoughts to share.
So let’s say we have the following taxonomy terms meta-boxes on our post edit page :
- Team accounting
- Team supergurus
- Countries
- Team developers
- Favorite ice cream
Wouldn’t it be nice to be able to groupe the three “Team” meta-boxes into one “container” box called “Teams” ? This would be just and empty meta-box with a title, containing the three taxonomy meta-boxes.
The goal is to be more user friendly and keep the similar meta-boxes grouped together (it can become really confusing when you have a lot of taxonomies)
Do you think this is doable ?
Thanks for the hint Bainternet, indeed this is very easy to implement with jQuery.
Example (the four meta boxes are closed for clarity) :
Here’s what I did :
I added the classes
meta-box-sortables
andui-sortable
to the container div, that way you can also reorder the boxes within the container (though it’s kind of tricky, the div jumps easily..).This script is then called on the admin page we want with :