I have written a piece of code to build a paginated archive page for a custom post type. I cannot exclude a certain custom taxonomy. can anyone help, please?
$temp = $wp_query;
$wp_query = null;
$wp_query = new WP_Query();
$wp_query->query('showposts=30&post_type=my_custom_post_type'.'&paged='.$paged);