A plugin that uses the Bing Search API to replace the default search functionality.
This plugin works out of the box for wordpress default templates, It may require css tweaks to get the desired styling on custom templates.
If you have any enquiries about custom integration of this plugin please contact us as team@askewbrook.com
Note: This plugin requires a Bing Cognitive Services API key that can be obtained at
https://www.microsoft.com/cognitive-services/en-us/apis.
Upon signing up your key will be valid for 90 days, upon which you will need to pay for a subscription to continue using the service.
Custom Search Functionality
To use the new custom search functionality provided by bing, you will need to create a new api key & endpoint at
https://customsearch.ai.
You will then require the
customconfig
code that is generated upon receiving your API endpoint.
An example of a API endpoint would be:
https://api.cognitive.microsoft.com/bingcustomsearch/v5.0/search?q=microsoft&customconfig=1570678669&responseFilter=Webpages&mkt=en-us&safesearch=Moderate
of which the code you require to is the
customconfig=########
. place this code into the box provided in the settings and turn on the custom search functionality.
Unpack and install in your plugin directory. This will create a new search file that will be loaded instead of your theme's existing search.php