[wp-hackers] Multiple category boxes / tabs in the Admin Area

Eduardo Wosiack Zulian eduardo at ethymos.com.br
Wed Apr 29 03:30:21 GMT 2009

Almost there, Jennifer. Put each top-level category in its own box is an
idea. However, I was planning to maybe, if possible, to put these categories
into the post_categories_meta_box, side by side with the "most used" tab. Is
that possible, right?

2009/4/28 Jennifer Hodgdon <yahgrp at poplarware.com>

> Unless I misunderstood, I don't think he's trying to define his own
> taxonomies. I think he has a large hierarchy within the standard Post
>  Categories taxonomy, and he wants to display each top-level category in its
> own box on the post edit screen, and also hide the existing category/tag
> boxes.
> If that is correct, then yes you should create your own with add_meta_box()
> in a plugin. Any recent plugin that adds things to the post edit screen
> should have some examples, or if all else fails, read the documentation and
> try to do something similar:
> http://codex.wordpress.org/Function_Reference/add_meta_box
> You will want to make sure that when someone selects categories in your
> box, it corresponds to the same POST variables getting submitted as when
> they use the existing Categories edit section.
> Removing the existing tags/categories boxes is easy -- you don't need a
> plugin. Just click on "Screen Options" when you are on the Post Edit screen,
> and un-check the Tags and Categories boxes.
> Good luck!
>   --Jennifer
> Ryan Boren wrote:
>> On Tue, Apr 28, 2009 at 2:36 PM, Eduardo Wosiack Zulian
>> <eduardo at ethymos.com.br> wrote:
>>> Probably this is my first message in this list, so hello to you all!
>>> Well, I'm working in a project for a Non-Governamental Organization, and
>>> like most of the NGOs around the world, they have a lot of texts,
>>> articles,
>>> cases and campaings, wich will result in a big process of categorization.
>>> My
>>> ideia is to add more category boxes (as you can see here
>>> http://wordpress.org/support/topic/233789?replies=2) in the Add / Edit
>>> Post
>>> panels to help me - and them, specially - organise all the content,
>>> separating each one of my main categories in different boxes / tags. I've
>>> managed to hack edit-form-advanced.php for testing, but I don't want do
>>> do
>>> that.
>>> So, my questions: is there a good way to manage this without hacking into
>>> edit-form-advanced.php? Yes, I'm planning a plugin, but God, my head's a
>>> mess theses days and I can't think clearly anymore. Should I remove
>>> post_categories_meta_box and create my own with add_meta_box?
>>> Corrections,
>>> suggestions and enlightenments will be much appreciated.
>> WP 2.8 (not yet released) will show boxes for all defined tag
>> taxonomies. If you use register_taxonomy() to define new
>> non-hierarchical taxonomies, they will show on the edit screen.
>> Unfortunately, this is not yet done for hierarchical taxonomies like
>> post categories.  If you want to show multiple hierarchical taxonomies
>> on the edit screen you have to add the UI yourself. I think there are
>> some plugins that do this. Maybe this one:
>> http://wordpress.org/extend/plugins/custom-taxonomies/
> --
> Jennifer Hodgdon * Poplar ProductivityWare
> www.poplarware.com
> Drupal, WordPress, and custom Web programming
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Eduardo W. Zulian
Ethymos Soluções em Web
+55 41 3077-4163

More information about the wp-hackers mailing list