[wp-trac] [WordPress Trac] #21378: get_the_category doesn't work for custom post types with custom taxonomies
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 25 17:11:08 UTC 2012
#21378: get_the_category doesn't work for custom post types with custom taxonomies
--------------------------------------+-----------------------
Reporter: tcattitude | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone:
Component: Taxonomy | Version: 3.4.1
Severity: normal | Resolution:
Keywords: 2nd-opinion dev-feedback |
--------------------------------------+-----------------------
Comment (by helenyhou):
Is there some reason `get_the_terms()` doesn't work for you? Or, for that
matter, enabling the default category taxonomy to be used with your custom
post type? `get_the_category()` is specifically for the category taxonomy,
not your custom taxonomy that is similarly named.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21378#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list