[wp-trac] [WordPress Trac] #14625: Function get_the_category doesn't work as expected with custom post types
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 13 17:25:34 UTC 2010
#14625: Function get_the_category doesn't work as expected with custom post types
-------------------------------+--------------------------------------------
Reporter: bjdj | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version: 3.0.1
Severity: minor | Resolution:
Keywords: reporter-feedback |
-------------------------------+--------------------------------------------
Comment(by nacin):
By default, category/tag index pages will only show post_type = post.
You'll need to hook into the WP_Query or WP objects to display additional
post types.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14625#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list