$args = array('post_type' => 'message', $taxonomy => $term, 'posts_per_page' => 25, 'paged' => $paged );
$wp_query = new WP_Query($args);
The code above gets ALL post_types (not just messages) for the taxonomy term $term.
But if we change it to:
$args = array('post_type' => 'message', 'posts_per_page' => 25, 'paged' => $paged );
$wp_query = new WP_Query($args);
it gets the correct post_types of 'message'. I can't seem to get any query to work correctly that combines post_type with a taxonomy selection - but they work fine individually.
I have read everything I can and am sure the top section of code is correct - does anyone see anything wrong with it?