| 开发者 | muradt20 |
|---|---|
| 更新时间 | 2026年4月20日 23:25 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[reading_time] for custom placement[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; }
zerobloat-reading-time folder to /wp-content/plugins/There are none. The plugin uses sensible defaults (200 words per minute). If you need customization, this plugin isn't for you.
Not through a UI. The plugin is intentionally minimal. Developers can use the filter:
add_filter( 'mrt_words_per_minute', function() { return 250; });
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 );
By default, it only shows on posts. Developers can extend this with a filter.
Because you don't need one. Reading time is simple math. The defaults work for 99% of sites.