ReadTrack

描述

ReadTrack is a lightweight plugin that improves the user experience by displaying:
– ⏱️ Estimated reading time based on post word count
– 📊 A visual progress bar that fills as the reader scrolls

You can fully customize the text shown before the post using a settings page in the WordPress admin panel. The default template is:

⏱️ Estimated reading time: %minutes% min

Simply place %minutes% in your message to dynamically show the calculated reading time.

New in version 1.2:
– The plugin now uses the WordPress database (via get_option() / update_option()) instead of saving configuration to a file in the plugin folder.
– This ensures full compatibility with WordPress.org guidelines and multisite installations.

License

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License v2 or later.

安裝

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install it via the WordPress Plugin Directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Settings > ReadTrack to customize the message.
  4. Make sure your theme supports the_content filter (most do).

常見問題

Can I change the reading time label?

Yes! Just go to Settings > ReadTrack and enter your custom message. Use %minutes% where you want the number to appear.

Does it work with custom post types?

Currently, it only affects single blog posts (is_single()). You can modify the condition in readtrack_add_elements() if needed.

Is JavaScript required?

Yes, JavaScript is used to update the scroll progress bar in real time.

評價

There are no reviews for this plugin.

貢獻者及開發者

“ReadTrack” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 ReadTrack 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.2

  • Configuration is now saved in the WordPress options table (no more writing to plugin files)
  • Improved compatibility with WordPress.org plugin guidelines

1.1

  • English translation of plugin code and admin panel
  • First public version with settings page and config file