Is there a way to get all the posts from a taxonomy in Wordpress ?
In taxonomy.php
, I have this code that gets the posts from the term related to the current term.
$current_query = $wp_query->query_vars;
query_posts( array( $current_query['taxonomy'] => $current_query['term'], 'showposts' => 10 ) );
I'd like to create a page with all the posts in the taxonomy, regardless of the term.
Is there a simple way to do this, or do I have to query the taxonomy for the terms, then loop trough them, etc.