in my custom post type i've set 'taxonomies' => array('category'). However, within my category.php page, none of the custom post types are being displayed, only posts.
'taxonomies' => array('category')
How do i make ALL post types appear, not just the post?
just guessing.. did you set "public"=>"true" in register_post_type(..)
$cats = new WP_Query(array('post_type'=>'any','category_name'=>single_cat_title('', false)));
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago
Get the weekly newsletter!
see an example newsletter