ZeroBloat Reading Time

外掛說明

ZeroBloat Reading Time does one thing: shows how long it takes to read your post.

No settings page. No database entries. No JavaScript. No CSS files. No bloat.

Just install, activate, done.

Features

  • Automatically displays “X min read” before post content
  • Works out of the box — zero configuration
  • Shortcode [reading_time] for custom placement
  • Translation-ready
  • Less than 5KB total plugin size
  • No external dependencies
  • No tracking or analytics
  • No upsells or pro version

Usage

Automatic: Just activate the plugin. Reading time appears on all posts.

Shortcode: Use [reading_time] anywhere in your content or theme.

With specific post: Use [reading_time id="123"] to show reading time for a specific post.

Styling

The plugin adds minimal CSS. To customize, target .mrt-reading-time in your theme:

.mrt-reading-time {
    color: #999;
    font-style: italic;
}

安裝方式

  1. Upload the zerobloat-reading-time folder to /wp-content/plugins/
  2. Activate through the ‘Plugins’ menu
  3. Done. No configuration needed.

常見問題集

Where are the settings?

There are none. The plugin uses sensible defaults (200 words per minute). If you need customization, this plugin isn’t for you.

Can I change the reading speed?

Not through a UI. The plugin is intentionally minimal. Developers can use the filter:

add_filter( 'mrt_words_per_minute', function() {
    return 250;
});

Can I hide the reading time on certain posts?

Add this to your theme’s functions.php:

add_filter( 'the_content', function( $content ) {
    if ( get_the_ID() === 123 ) {
        remove_filter( 'the_content', 'mrt_display_reading_time' );
    }
    return $content;
}, 9 );

Does it work with custom post types?

By default, it only shows on posts. Developers can extend this with a filter.

Why no settings page?

Because you don’t need one. Reading time is simple math. The defaults work for 99% of sites.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈ZeroBloat Reading Time〉的開發相關工作。

參與者

將〈ZeroBloat Reading Time〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release