Linux 软件免费装

WP Speech Contents

开发者 kt_shin1
更新时间 2017年9月14日 04:57
PHP版本: 4.8 及以上
WordPress版本: 4.8

标签

WebSpeechAPI

下载

0.1 0.2 0.3 0.3.1 0.3.2

详情介绍:

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'; });

安装:

  1. Upload the wp-speech-contents folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

更新日志:

0.3.2 0.3.1 0.3 0.2 0.1