Linux 软件免费装
Banner图

Optic Read-O-Meter

开发者 arunbrahma
更新时间 2026年5月25日 21:44
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

post block estimate reading time

下载

1.0.0

详情介绍:

Drops a small "X min read" line above each post on your site. Same little badge Medium uses and most blogs use. The plugin counts the words, divides by reading speed, prepends the badge above the content. That is the whole thing. No tracking, no upsells, no third-party scripts. What you can change from Settings, Optic Read-O-Meter: Per post, an editor sidebar lets you hide the badge for a specific post or set a manual minute count. A Reading Time Gutenberg block ships with the plugin. Drop it anywhere in the block editor and pick "Styled badge" or "Plain text" from the sidebar. There is also a shortcode for non-block contexts: [optrom_reading_time], [optrom_reading_time format="badge"], or [optrom_reading_time template="About %s"]. Performance: word and image counts are cached in post meta on save. After that, rendering reads one integer. No external HTTP, no analytics. For developers, two filters: optrom_words_per_minute to override the WPM per post, and optrom_label to replace the entire label string. The plugin cleans up after itself. Option and post meta are deleted on uninstall.

安装:

  1. Upload the optic-read-o-meter folder to /wp-content/plugins/, or install from Plugins, Add New.
  2. Activate.
  3. Visit Settings, Optic Read-O-Meter to configure.

屏幕截图:

  • The badge sitting above a single post.
  • The five styles available: pill, minimal, dark, outline, none.

常见问题:

Can I change the reading speed?

Yes. Set it on the settings page, or hook the optrom_words_per_minute filter for per-post control.

Does it work on pages or custom post types?

Yes. Tick the post types you want on the settings page. The default is posts only. The block and shortcode work everywhere regardless.

Can I hide the badge on a single post?

Yes. Each supported post type has a Reading Time meta box on the editor with a hide toggle and a manual minutes override.

My posts have lots of images. Are they counted?

Off by default. Tick "Count images" on the settings page if you want each image to add a few seconds to the estimate (12 by default, same as Medium).

Does it support non-Latin scripts?

Yes. str_word_count covers most Latin scripts. For CJK and similar, the plugin falls back to a Unicode-aware split.

Does it track visitors?

No. No tracking, no analytics, no external requests.

更新日志:

1.0.0