Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/maheshbohara/instant-voice-search/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A WordPress plugin that adds voice search functionality to WordPress search bars using the Web Speech API.
Features
- Adds a microphone button next to WordPress search bars
- Uses the Web Speech API for voice recognition
- Automatically submits the search form after voice input
- Compatible with default WordPress themes and WooCommerce
- Configurable language settings
- Fully translatable
- Responsive design
Requirements
- WordPress 5.0 or higher
- Modern web browser with Web Speech API support (Chrome, Edge, Safari)
Installation
- Download the plugin zip file
- Go to WordPress admin panel > Plugins > Add New
- Click "Upload Plugin" and select the downloaded zip file
- Activate the plugin
Usage
- Go to Settings > Instant Voice Search to configure the plugin
- Enable/disable voice search functionality
- Select the preferred language for voice recognition
- The microphone button will automatically appear next to search bars on your site
Development
Prerequisites
- Node.js 14.0 or higher
- npm 6.0 or higher
Setup
- Clone the repository
- Run
npm installto install dependencies - Run
npm run buildto build the assets - For development, use
npm run startto watch for changes
Available Scripts
npm run build- Build the production versionnpm run start- Start development mode with hot reloadingnpm run lint:js- Lint JavaScript filesnpm run lint:css- Lint CSS filesnpm run format- Format code using Prettier
Browser Support
The plugin uses the Web Speech API, which is supported in:
- Google Chrome (desktop & mobile)
- Microsoft Edge
- Safari (desktop & mobile)
- Firefox (with limited support)
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the GPL v2 or later - see the LICENSE file for details.