I have a set of fields in my Custom Post Type 'games' taxonomies called 'gamename' - I am trying to retrieve this value using query_posts like so....
$args = array(
'post_status'=>'publish',
'post_type'=>'games',
'gamename' => 'Space Invaders'
);
query_posts($args);
if(have_posts()) : while (have_posts()) : the_post();
the_title();
endwhile; else:
echo 'No Posts!';
endif;
wp_reset_query();
This isnt working for me and it is just returning 'No Posts'
Can some one suggest what I am doing wrong?