Location search
Im modding the vantage recent listings widget and currently it brings back the most recent 3 listings, what I wanna do is be able to bring back the listings based on their city. Query looks like this
$r = new WP_Query( array(
'post_type' => VA_LISTING_PTYPE,
'posts_per_page' => $number,
'no_found_rows' => true,
'post_status' => 'publish',
'ignore_sticky_posts' => true,
'orderby' => 'rand'
) );
is their a specific variable such as "location=> 'city_value'"? Thanks in advance