After creating new custom post type with register_post_type() function, I don't see the Tags meta box when adding a page of new post type.
It seems that tags metabox should be added manually.
If so, how can I add it?
|
|
|
There are essentially two ways to do this. The first is to supply the
The other is to register your post type and set up its taxonomies at a later point:
UPDATE: Likely you will want some of these taxonomies to be exclusive to your post type. First, taxonomies exists across all post types, that's their strength. If however, you want to be able to add tags that are exclusive to your custom post type you will have to register a custom taxonomy as well.
The above should do fine, but check out the |
|||||||
|