id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 36192,Custom post types don't show on built in taxonomies,pcfreak30,,"If you add a CPT, then add support for the built in category or tags, the categories page(s) for those taxonomies will not show the CPT items, only post/page. The following action has to be used to fix it: {{{#!php add_action('pre_get_posts', function (&$wp_query) { if (is_category()) { $wp_query->query_vars['post_type'] = 'any'; } }); }}}",defect (bug),closed,normal,,Query,4.4.2,normal,duplicate,,,