Changes between Initial Version and Version 1 of Ticket #21378, comment 7
- Timestamp:
- 03/04/2014 12:21:24 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21378, comment 7
initial v1 4 4 Use [http://codex.wordpress.org/Function_Reference/register_taxonomy_for_object_type register_taxonomy_for_object_type()] or the `taxonomies` argument of [http://codex.wordpress.org/Function_Reference/register_post_type register_post_type()] to add the default `category` taxonomy (or a custom taxonomy) to a custom post type. 5 5 6 Use [https://codex.wordpress.org/Function_Reference/get_the_category get_the_category()] retrieve categories assigned to the post (from the default `category` taxonomy).6 Use [https://codex.wordpress.org/Function_Reference/get_the_category get_the_category()] to retrieve categories assigned to the post (from the default `category` taxonomy). 7 7 8 8 Use [https://codex.wordpress.org/Function_Reference/get_the_terms get_the_terms()] to retrieve other terms assigned to the post (from custom taxonomies).