Results 1 to 1 of 1

Thread: Recent Reviews by city

  1. #1
    Thread Starter
    Expired Customer benkovic's Avatar
    Join Date
    Jul 2012
    Location
    Canada
    Posts
    76
    Thanks
    2
    Thanked 4 Times in 4 Posts

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Widget Recent Reviews wrong time
    By peterd in forum Report Vantage Bugs (Legacy)
    Replies: 12
    Last Post: November 7th, 2013, 03:27 PM
  2. Broken links: Recent Reviews Widget
    By pimp in forum Report Vantage Bugs (Legacy)
    Replies: 1
    Last Post: September 10th, 2012, 12:21 PM
  3. Recent Reviews sidebar problem
    By kjetilenoksen in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: June 29th, 2012, 05:21 PM
  4. Gravatar Not Displaying on Reviews Tab & Recent Review Sidebar
    By stillinbeta in forum Report Vantage Bugs (Legacy)
    Replies: 1
    Last Post: June 13th, 2012, 10:49 AM
  5. Use Vantage for Restaurant Reviews or keep Joomla Simple Reviews ?
    By bidawinner in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: May 13th, 2012, 03:33 PM