| 开发者 | meerab123 |
|---|---|
| 更新时间 | 2026年2月24日 13:32 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
role="progressbar" with live aria-valuenow updatesaria-label on every elementprefers-reduced-motionrte_the_reading_time(), rte_get_reading_time()
rte_badge_html, rte_show_badge, rte_ai_adjustment_factor{time} placeholder)prefers-reduced-motion toggle<?php rte_the_reading_time(); // echoes "5 min read" ?>
<?php $data = rte_get_reading_time(); echo $data['minutes']; ?>
🪝 Filters
Customise badge HTML:
add_filter( 'rte_badge_html', function( $html, $result ) { return $html; }, 10, 2 );
Disable badge conditionally:
add_filter( 'rte_show_badge', '__return_false' );
Tweak AI adjustment factor (0.75–1.0):
add_filter( 'rte_ai_adjustment_factor', function( $factor, $html ) { return 0.85; }, 10, 2 );
nuvora-reading-time-progress-bar folder to /wp-content/plugins/No. Everything runs locally on your server. No API calls, no tracking.
Yes, fully compatible with both the Block Editor and Classic Editor.
Yes. In Settings, check "Page" under "Show badge on" and "Show progress bar on".
Yes. Any public post type will appear in the settings checkboxes.
The plugin analyses your post's structure (heading density, list ratio, average paragraph length). If it detects highly structured, scannable content, it applies a small reduction factor (up to 25% faster). No external AI service is used — it's a smart local heuristic.
Open the post in the editor. Find the Reading Time meta box in the sidebar. Enter a number (in minutes) to override the auto-calculated value, or leave it blank to use auto.
Yes. Use the checkboxes in the Reading Time meta box.