Title: Voice Search
Author: Pascal Birchler
Published: <strong>2014 年 12 月 28 日</strong>
Last modified: 2025 年 5 月 16 日

---

搜索插件

![](https://ps.w.org/voice-search/assets/banner-772x250.png?rev=3294124)

![](https://ps.w.org/voice-search/assets/icon.svg?rev=3294124)

# Voice Search

 作者：[Pascal Birchler](https://profiles.wordpress.org/swissspidy/)

[下载](https://downloads.wordpress.org/plugin/voice-search.1.4.2.zip)

 * [详情](https://cn.wordpress.org/plugins/voice-search/#description)
 * [评价](https://cn.wordpress.org/plugins/voice-search/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/voice-search/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/voice-search/#developers)

 [支持](https://wordpress.org/support/plugin/voice-search/)

## 描述

Allows visitors to search the site using their voice. Currently only supported by
Chrome on both desktop and mobile. See [this technical reference](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API)
for more details.

See [this blog post](https://spinpress.com/wordpress-web-speech-api/) for further
information about the plugin.

## 屏幕截图

 * [[
 * The microphone button added to the search form by the plugin.

## 安装

### Manual Installation

 1. Upload the entire `/voice-search` directory to the `/wp-content/plugins/` directory.
 2. Activate Voice Search through the ‘Plugins’ menu in WordPress.
 3. Visit your website and start searching using your voice.

## 常见问题

### Why is there no microphone button beneath the search form?

There could be many reasons for this:

 * You’e not using Google Chrome (check out the browser support [here](http://caniuse.com/#feat=web-speech))
 * Your theme doesn’t use the `get_search_form()` function properly. The plugin 
   relies on the default search form markup
 * Your theme does some CSS things that prevents the microphone button from being
   displayed.

### Does this plugin still allow users to type or does it entirely replace typing with voice search?

No, users are still able to type in the search box whatever they want. Voice search
is just a nice addition.

### How does it integrate with other search-enhancing plugins such as Relevanssi?

In my tests there weren’t any problems with other plugins like Relevanssi.

## 评价

![](https://secure.gravatar.com/avatar/9cde5146ad9c8fd9ba97dbe646ccf5001fab6f756fa2798f7fd5dae54aa6c6b5?
s=60&d=retro&r=g)

### 󠀁[It just works!](https://wordpress.org/support/topic/it-just-works-827/)󠁿

 [Fabio](https://profiles.wordpress.org/fabiomb/) 2024 年 7 月 25 日

Easy to install, if your template has the normal search box it simply works. The
plugin adds a mic button, of course, because security, all browsers need to ask 
permission to use it at least once, but it works!

![](https://secure.gravatar.com/avatar/6387e4067eb87c04eaa3c3365009f8f9c4d4ce8096f421fcddf32180c278c821?
s=60&d=retro&r=g)

### 󠀁[Best choice for my project!](https://wordpress.org/support/topic/best-choice-for-my-project/)󠁿

 [oliverm01](https://profiles.wordpress.org/oliverm01/) 2024 年 5 月 7 日 1 回复

I am working on a portal on the EU AI Act not at least for mobile use (similar to
artificialintelligenceact.eu but better, haha). In the last three days I tested 
four different voice search tools (WP-Plugins). The only one that really convinced
me was this one – the others were really disappointing although they are really (!)
expensive … This one here works great on iphone with chrome & safari (last one is
the better mobile experience because of security reasons). It works on Android, 
Mac & Windows with Chrome. There might be still some minor challenges with this 
plugin, ok. For example: In one of the js file were some styles that I could not
overwrite in the beginning with customizer. After I removed the one or other “!important”
in the stylesheet. Now it works great and I can display a secon searchfield in an
accordeon too. Another issue was exact responsive positioning of the icon … ok, 
is still not working perfect e.g. after resizing a browser-window, but thats not
really a problem. WP-Version is 6.5.2.

![](https://secure.gravatar.com/avatar/1d42845c41c41563583b5676495f6584403df3f12c95529fdb2042961125d9a8?
s=60&d=retro&r=g)

### 󠀁[Very good plugin](https://wordpress.org/support/topic/very-good-plugin-2671/)󠁿

 [proiontaghs](https://profiles.wordpress.org/proiontaghs/) 2023 年 5 月 4 日 4 
回复

Great plugin for voice search. It also works perfectly in Greek. No training required,
as with other voice searches. I tested it on a computer and on a mobile phone with
male and female voices. It works immediately and understandably.But one very small
problem I have is that the microphone graphic is black and the background color 
is dark gray as well. So it is not distinct. I tried to change the background in
the search area, but it didn’t work. Any help on this?

![](https://secure.gravatar.com/avatar/461e7aaf0518912f677c141d1bb5d727d89e74f88d676a7ba4a2923918bd4446?
s=60&d=retro&r=g)

### 󠀁[Would love for it to work!](https://wordpress.org/support/topic/would-love-for-it-to-work/)󠁿

 [atlantichealthcareproducts](https://profiles.wordpress.org/atlantichealthcareproducts/)
2021 年 4 月 12 日

Great concept

![](https://secure.gravatar.com/avatar/3f7d028897c44c54035cc22b18064dd5622b6b022ff503923946aef3c20acc96?
s=60&d=retro&r=g)

### 󠀁[Does not work on safari](https://wordpress.org/support/topic/does-not-work-on-safari-2/)󠁿

 [iwillbmm](https://profiles.wordpress.org/iwillbmm/) 2019 年 5 月 6 日 1 回复

This is the same feature google chrome offers, without the need of a plugin

![](https://secure.gravatar.com/avatar/32f62b31d69fe18b9da70936219a0481e9117e077487c518046bf7293c6c44f5?
s=60&d=retro&r=g)

### 󠀁[there is a bug](https://wordpress.org/support/topic/there-is-a-bug-3/)󠁿

 [Boluki](https://profiles.wordpress.org/mohammad7484/) 2017 年 10 月 9 日

Hi ; there is an extra ‘Space’ in js file registration in plugin.php file at line
45. exactly before ‘.js’ at the end of line.

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/voice-search/reviews/)

## 贡献者及开发者

「Voice Search」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Pascal Birchler ](https://profiles.wordpress.org/swissspidy/)

「Voice Search」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/voice-search/contributors)
为本插件所做的贡献。

[帮助将「Voice Search」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/voice-search)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/voice-search/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/voice-search/)，或通过[RSS](https://plugins.trac.wordpress.org/log/voice-search/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/voice-search/)。

## 更新日志

### 1.4.2

 * Just re-tagged 1.4.1

### 1.4.1

 * Improve compatibility with certain search forms.

### 1.4.0

 * The search form now auto-submits after finishing speaking.

### 1.3.1

 * Removed some unwanted console messages.

### 1.3.0

 * Updated for WordPress 5.7 compatibility

### 1.2.1

 * Less patience for quicker feedback after speech input
 * Pressing enter now submits the form instead of triggering the microphone button

### 1.2.0

 * Improve compatibility with themes that initially hide the search forms
 * Update browser support info in the readme

### 1.1.0

 * Complete rewrite of the plugin
 * Improved theme compatibility

### 1.0.1

 * Improvement: Better theme compatibility

### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.4.2**
 *  最后更新：**12 月前**
 *  活跃安装数量 **700+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/voice-search/) 、 [English (US)](https://wordpress.org/plugins/voice-search/)、
   [Italian](https://it.wordpress.org/plugins/voice-search/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/voice-search/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/voice-search/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/voice-search)
 * 标签
 * [recognition](https://cn.wordpress.org/plugins/tags/recognition/)[search](https://cn.wordpress.org/plugins/tags/search/)
   [speech](https://cn.wordpress.org/plugins/tags/speech/)[voice](https://cn.wordpress.org/plugins/tags/voice/)
 *  [高级视图](https://cn.wordpress.org/plugins/voice-search/advanced/)

## 评级

 3.8 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/voice-search/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/voice-search/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/voice-search/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/voice-search/reviews/?filter=2)
 *  [  3 条 1 星评价     ](https://wordpress.org/support/plugin/voice-search/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/voice-search/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/voice-search/reviews/)

## 贡献者

 *   [ Pascal Birchler ](https://profiles.wordpress.org/swissspidy/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/voice-search/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://pascalbirchler.com)