When you use WordPress’s publishing platform, and combine this with PhotoShelter’s image archiving and e-commerce capabilities, you may have noticed that there is no combined search option. As a result, you’ll always end up with two search input fields. Each with different styling and buttons. Back in January, when I was creating this website, I decided that it was worth the effort to write up some code to combine the two searches. I have already provided the code to many PhotoShelter colleagues. Until now, however, I didn’t find the time to write up documentation and make it available for download. Here it finally is!
What the NiO PhotoShelter Dual Search widget does?
The NiO PhotoShelter Dual Search Widget combines the standard Graph Paper Press WordPress blog search with the PhotoShelter image search. There no longer is a need to include two separate search input fields. Please expect no magic, however! By implementing this widget, you get rid of the two search options with unmatched styling. It still only returns the results from one of the two, however, depending on which of the two available options is selected.
The NiO Dual Search widget:
- Creates two radio buttons, to determine if the search needs to be executed in the blog or the PhotoShelter image archive.
- Includes a hyperlink that takes the user to the advanced search page of PhotoShelter.
- Allows for styling the search form.
The NiO PhotoShelter Dual Search widget can be downloaded from our NiO PhotoShelter Widgets page. If you like this widget and decide to use it, please blog about it or provide a credit on your site with a link to my website (https://www.niophoto.com).