Background
-A wordpress website that will have businesses listed on their own separate page.
-Business listing pages will be created manually
-‘Swiftype Search’ wordpress plugin is installed with active API
-Want to modify the search box functionality and search results
-We will not be using the swiftype overlay search results popup
-I have explored other search plugins for wordpress but they do not offer what I want
-using https, not http.
The purpose of this project is for you to look over the swiftype documentation/plugin as well as use your own knowledge to provide a clear set of instructions on what code modifications need to be made and where, to improve the search function in the following way:
Search Box
-Have two search fields instead of one.
Example at [login to view URL] or [login to view URL]
-Left search field is to enter the type of trade/builder, eg painter, plumber etc (this should be looking through each page to see where the category is painter, plumber, where the category may be in the body of the page as simple text)
-Right search field is to enter suburb and or postcode in Australia (do not need to create a database with all suburbs, it will only be searching existing pages to see if the suburb/postcode is there in the body of the page)
-two search fields will be on their own page and the search results will display below on that page
-Two search boxes and search button will be a bit larger and better looking than the current default one
Search result sorting
-The results will exclude any page that is further than a defined distance away from the suburb (say 5km) where there are instructions on how to update that distance. This may require adding Lat/Longitude on the business listing page which is ok.
Search Display
-The excerpt for each listing when the results display should display the thumbnail for the page
-the ‘posted by’ and ‘comments off’ should be removed from the excerpt results display
-the exerpt results display should be able to show a dot point list, not make a dot point list look like a paragraph when the results are displayed
The theme being used includes the following theme files which I believe relate to this project
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
I assume a child theme will need to be created.
You won’t necessarily have access to the live site so it maybe best to test the above changes to a separate live test wordpress site to make sure they work. The swiftype plugin is free so you will be able to see how it works and the API is free for the first 1000 pages.
The final milestone payment will be made when it works as described above. If you have any doubts/hesitations that it is possible, please communicate them and/or ask the guys at swiftype because they have been quite helpful to date.