Alter Blog Post Reading Time Speed

This is a Developer Level doc.

If you're unfamiliar with PHP and/or editing files, codes and templates, as well as with resolving possible conflict, seek help from a professional.

Under our Support Policy, we don't provide support for modifications and customization.

Default OceanWP words per minute value for the Reading Time functionality is 200.

WordPress single blog post reading time examples

If you want to decrease/increase the Reading Time speed (output) by changing the words per minute value, use the following PHP snippet:

NOTICE: This filter is available in OceanWP 4.1.0 version and above.

/**
 * Change the default words per minute value for the blog post reading time.
 */
function myprefix_reading_time_speed( $wpm ) {
	$wpm = 250; // Replace 250 value with a value of your own.
	return $wpm;
}
add_filter( 'oceanwp_post_reading_time_words_per_minute', 'myprefix_reading_time_speed' );

Replace $wpm value with own.

For academic papers, recommended speed is 150 words per minute, while for conversational/casual blog posts the speed varies between 250 and 300 for adults.

All PHP snippets should be added via a child theme's functions.php file.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.