WP Manifestindependent plugin directory
manifest / utilities / temps-lecture-estime

Temps de Lecture Estimé / Estimated Reading Time

WordPress plugin that automatically displays a post's estimated reading time based on its word count. Includes a [temps_lecture] shortcode, configurable reading speed, and bundled French translation.

by Kymeriane · github.com/kymeriane/temps-lecture-estime · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/kymeriane/temps-lecture-estime/archive/refs/heads/main.zip

Readme

=== Temps de Lecture Estimé / Estimated Reading Time === Contributors: Kymeriane Tags: reading time, temps de lecture, articles, blog Requires at least: 5.0 Tested up to: 7.0 Requires PHP: 7.2 Stable tag: 1.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically displays a post's estimated reading time based on its word count.

== Description ==

This plugin calculates a post's word count in real time and estimates the reading time based on a configurable reading speed (in words per minute).

The plugin interface and the default reading-time text are shown in the site's language: English by default, and French automatically on French-language WordPress installs (a French translation is bundled). Translators can add further languages using the included .pot template.

Features:

  • Automatic calculation based on the post's actual word count
  • Customizable reading speed (200 words/minute by default)
  • Automatic display before or after the content
  • Customizable text and icon
  • Choice of content types (posts, pages, custom post types...)
  • [temps_lecture] shortcode for manual display anywhere

== Installation ==

  1. Upload the "temps-lecture-estime" folder to the /wp-content/plugins/ directory
  2. Activate the plugin from the WordPress "Plugins" menu
  3. Go to Settings > Reading Time to configure the plugin

== Shortcode usage ==

[temps_lecture] Displays the reading time of the current post.

[temps_lecture id="123"] Displays the reading time of the post with ID 123.

== Translations ==

Included: English (default), French (fr_FR). A languages/temps-lecture-estime.pot template is included for adding further languages.

== Changelog ==

= 1.1.0 =

  • Added full internationalization (i18n): all interface text and the default reading-time text now use WordPress translation functions.
  • Added a bundled French (fr_FR) translation so existing French sites keep the original wording.
  • Added a .pot template for translators.

= 1.0.0 =

  • Initial version

Read the full README on GitHub →