Results 1 to 4 of 4

Thread: Put search query within custom template?

  1. #1
    Thread Starter
    Veteran wzshop's Avatar
    Join Date
    Mar 2012
    Location
    Netherlands
    Posts
    356
    Thanks
    27
    Thanked 7 Times in 6 Posts

    Put search query within custom template?

    Hi,
    I would like to make a custom page template that uses a search query and shows its results.
    I'd like the following:

    For instance i have a custom page template for the city 'London'.
    I would like the template to have a search query that shows all the listings with the search term London and also have a radius of (i.e.) 50 kilometers. So basically the search string as it is, but then within a custom page template. How can i use the Vantage search string within a wpquery?

    Hope i made myself clear.
    Thanks

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Veteran wzshop's Avatar
    Join Date
    Mar 2012
    Location
    Netherlands
    Posts
    356
    Thanks
    27
    Thanked 7 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Filter search by custom parameter and meta query
    By emilianoaguirre in forum ClassiPress General Discussion
    Replies: 6
    Last Post: July 18th, 2017, 03:20 PM
  2. how to edit the search query with custom search field...
    By pangit in forum ClassiPress General Discussion
    Replies: 0
    Last Post: March 17th, 2014, 11:03 AM
  3. Query custom fields
    By brookss1312 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: February 18th, 2013, 09:54 AM
  4. Custom Field Query
    By ggriffin in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: May 29th, 2012, 05:00 AM
  5. Custom Field Query
    By ggriffin in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: May 29th, 2012, 05:00 AM