Combine 2 Search forms.
-
Hey,
my project is a fusion of 2 searchforms into 1.
I use the simple locator (SL) (search by location) plugin. Unfortunately the support is very bad, so i tried to solve this problem “theoretically”, how this could be done in general.
So wordpress outputs a form for keyword search, SL outputs its form for location search, they both generate /?x=… from home URL, i only have to find a way to get the ?s= into this query.
To summarize:
SL: Enter a city and i will output you every post thats related to that geolocation or next to it.
WP: Enter a keywprd and i will output every post thats related to the keywordAnd I want to combine it like: Enter a Keyword here and a City there and i will output every post thats related to the keyword and related to the city/next to it.
I know thats not one of the easy to answer questions, but maybe there will be some good inputs that will bring me on the right hook?
- The topic ‘Combine 2 Search forms.’ is closed to new replies.