跳到内容

WP Speech Contents

v0.3.2

shin1kt · 2017年9月13日 上架

Displays a button to speech the content.

正在使用
30+
评分
暂无
累计下载
1,819
最近更新
2017年9月14日
需要 WordPress 4.8+已测试到 4.8.35

贡献者

Displays a button to speech the content.
Single page only
Web Speech API compatible browser only

Web Speech API Browser compatibility.

Example

You can change the display position with a filter hook.

add_filter( 'wp-speech-contents_mode', function () {
    return 'bottom'; // top or bottom
});

You can change the content to be read out with the filter hook.

add_filter( 'wp-speech-contents_content', function ( $content ) {
    $content = preg_replace('/\pS/u','',$content); // Delete symbols etc.
    $content = 'Speech starts!.'.$content; // First "Speech starts!"
    return $content;
});

You can Setting the language to be read out with the filter hook.

add_filter( 'wp-speech-contents_language', function ( ) {
    return 'ja-JP';
});

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums