[wp-hackers] how to add custom taxonomies to the post screen

Kailey Lampert trepmal at gmail.com
Fri Nov 4 00:15:08 UTC 2011

The second argument of register_taxonomy (
http://codex.wordpress.org/Function_Reference/register_taxonomy) is the
object type, you can pass 'post' there.

register_taxonomy( 'taxonomy_name', array( 'post', 'custom_post_type' ),
$args );

Kailey Lampert
twitter: @trepmal
trepmal at gmail.com

On Thu, Nov 3, 2011 at 5:01 PM, IC IC <icwordpress at gmail.com> wrote:

> Hi,
> By default, when adding a post, we see on the post screen some categories
> box to choose some categories and the tags box to add some tag terms...
> I created a few custom taxonomies. How do I make them show on the post
> screen?
> This is not an issue when you deal with a custom post type. Cause at the
> time of post type creation phase, by using the custom post type plugin, you
> can just pick and choose from those available custom taxonomies.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list