I have created a custom post type calles articles and a custom “category like” taxonomy called areas which seem to be working fine. The problem is that in my taxonomy-areas.php page they don’t show up if I use the regular loop, I have to explicitly append “post_type=articles” to the query string for it to work. Shouldn’t this be picked up by default?
My taxonomy page looks like this:
<?php $paged = (get_query_var('page')) ? get_query_var('page') : 1; ?>
<?php global $query_string; query_posts($query_string . '&post_type=articles&paged=' . $paged); ?>
<?php if (have_posts()) while (have_posts()) : the_post(); ?>
// Handle loop
<?php endwhile; ?>
I just fixed it with this: http://walrusinacanoe.com/web-development/742
And removed the 2 extra lines on top of the loop 🙂