Recent Reviews by city
I am wanting to only get the reviews from where the person is currently at. Here is what i changed:
$reviews = va_get_reviews( array(
'number' => $number,
'orderby' => 'rand',
'status' => 'approve',
'post_status' => 'publish',
'meta_query' => array(
array(
'key' => 'address',
'value' => '$currloc',
'compare' => 'LIKE'
)
)
) );
Any ideas why it is returning zero.