ReadMetric

描述

ReadMetric calculates how long a post takes to read based on word count (and, optionally, images) and displays it wherever you need it: automatically before or after the content/title, via a Gutenberg block, a shortcode, or a PHP function.

Features

  • Automatic reading time calculation (configurable words-per-minute, 100–400)
  • Choose where it appears: before/after content, before/after title, or manual only
  • Optional icon (clock, book, stopwatch), custom prefix/suffix text
  • Optional per-image reading time addition
  • Optional estimated “finish by” clock time
  • Optional scroll-based reading progress bar
  • Optional schema.org timeRequired markup (off by default to avoid clashing with SEO plugins)
  • Gutenberg block with icon/prefix/suffix controls and native alignment/color/typography support
  • [readmetric] shortcode and readmetric_get_time() / readmetric_display() PHP functions
  • REST API endpoint: /wp-json/readmetric/v1/post/{id}
  • Per-post “disable reading time” option
  • Optional admin list-table column
  • Reading time is cached in post meta and recalculated only when content or settings change
  • Tools: clear cache, recalculate all posts, export/import settings

区块

该插件提供了 1 个区块.

  • Reading Time Displays the estimated reading time for this post.

安装

  1. Upload the plugin folder to /wp-content/plugins/.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Settings ReadMetric to configure it.

常见问题

How do I show the reading time manually?

Use the [readmetric] shortcode, or call readmetric_display() in a template.

Does this work with custom post types?

Yes — enable any public post type under Settings ReadMetric General.

Will this duplicate my SEO plugin’s schema markup?

No, schema output is off by default. Enable it only if you don’t already have Article/WebPage schema from another plugin.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

帮助将「ReadMetric」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release.