Results 1 to 1 of 1

Thread: how to edit the search query with custom search field...

  1. #1
    Thread Starter
    pangit's Avatar
    Join Date
    Feb 2014
    Location
    Philippines
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to edit the search query with custom search field...

    Hi, I am new with classipress.. right now I am trying to add a "City" field in the search form, I have already putted the "City" with a name of "cp_city".
    In default the search is done via GET method such as www.mysite.com/?s=here&sa=search&scat=0, in my case I added cp_city so it look like this
    http://www.mysite.com/?s=here&sa=sea...p_city=NewYork...

    My question now is where can I edit the search query for that? so I can add the cp_city in the search query for the City Field..

    Thanks in advance, any help will be appreciated..

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. Replies: 4
    Last Post: May 21st, 2014, 03:50 AM
  3. Dimitris custom field in search
    By megozlan in forum Report Vantage Bugs (Legacy)
    Replies: 3
    Last Post: August 14th, 2013, 02:27 PM
  4. Using search plugin WP Custom Field Search
    By Unregistered in forum ClassiPress General Discussion
    Replies: 70
    Last Post: August 31st, 2011, 11:01 PM