Reputation: 5758
I want to make costume search plugin for Wordpress 3.0.5. Please look at here first HERE
as you can see at that website there is a dropdown with Country, AREA, TYPE. and when we click find. the URL will produce URL GET like this /?countryId=3&areaId=7&typeId=13
The question is. how i can make a search plugin with that $_GET
, or can somebody give me link reference how to that?
Upvotes: 0
Views: 471
Reputation: 20475
I'm confused what you are trying to do, a plugin? Or functionality that handles the 'find' results?
If you just want the functionality, create a PAGE, call it 'find' and then set the 'TEMPLATE' of that page to a custom template. Create a custom page template by going via the wordpress codec
Start by looking at the 'single.php' page, which is your standard wordpress template.
Once inside the template you use standard PHP to process the $_GET
data and query your database.
Upvotes: 2