If you have a smartphone, then you are probably familiar with voice search using Siri, Google Now, or Cortana. Wouldn’t it be nice if you can bring voice search functionality to your WordPress site? In this article, we will show you how to add voice search in WordPress.
If you don’t like the video or need more instructions, then continue reading.
First thing you need to do is install and activate the Voice Search plugin.
Upon activation, this plugin works out of the box, and there are no special settings for you to configure.
All you need to do is go to the Appearance » Widgets section in your admin area. Next, add the default WordPress search widget to a sidebar.
If you already have a search widget added to your sidebar, then you don’t need to do anything.
Simply visit your website, and you will be able to see a microphone icon in the WordPress search box. When a user click on the microphone icon, it will display the text ‘Start Talking’ and users can say the words they want to search for.
How Does Voice Search Plugin Work in WordPress?
The Voice Search plugin uses the web speech API to take the voice input. Currently the plugin only works on Safari and Chrome web browsers for mobile and desktop.
*Firefox is expected to have web speech implemented soon.
The plugin modifies the default WordPress search form and hooks up the voice input javascript into default search. This means if you are using a custom search solution like Google search for WordPress or SearchWP, then this plugin will not work with your search form.
We hope this article helped you add voice search to your WordPress site. You may also want to check out our guide on how to add WordPress widgets in accessibility mode.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.