跳到内容

Fattami Reading Time

v1.0.0

Ayoub Fattami · 2026年9月12日 上架

Shows an estimated reading time badge on your posts, with Unicode-aware word counting (Arabic, French, CJK) and a simple shortcode.

正在使用
10 以下
评分
暂无
累计下载
217
最近更新
2026年9月12日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

Fattami Reading Time adds a small, elegant “Reading time: 4 minutes” badge to your posts so visitors know what to expect before they start reading.

Most reading time plugins rely on PHP’s str_word_count(), which only understands ASCII letters and therefore undercounts French accented words, and completely ignores Arabic, Cyrillic, Chinese, Japanese or Korean text. Fattami Reading Time uses Unicode-aware counting instead:

  • Latin, Cyrillic, Arabic, Hebrew and similar scripts are counted word by word (accents and apostrophes included).
  • Chinese, Japanese and Korean characters are counted individually.
  • Shortcodes, HTML tags, scripts and styles are stripped before counting.

Features

  • Automatic badge before or after the content of the post types you choose.
  • Adjustable reading speed (words per minute).
  • Custom label, or no label at all.
  • Optional word count next to the reading time.
  • [fattami_reading_time] shortcode to place the badge anywhere (supports id and label attributes).
  • Lightweight: one small stylesheet, loaded only on pages where a badge is displayed. No JavaScript, no external requests.
  • Translation ready and compatible with block themes and classic themes.
  • Removes its own settings when uninstalled.

Developer hooks

  • fattami_reading_time_word_count – filter the word count of a post.
  • fattami_reading_time_badge_html – filter the final badge markup.

Plums

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

导航

说明

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

© 2026 Plums