Wiozen Market

How do you add a reading time like "5 min read" to WordPress posts without a plugin?

In short:In Wiozen Theme reading time is a block that comes built into the post template of all five designs; you don't need a plugin. It shows under the post title, in the author and date line, as something like "5 min read". The time is the post's word count divided by 200 words per minute and rounded, with a minimum of 1 minute. You can move the block elsewhere in the post template or remove it in the Site Editor.

How is the time worked out?

The theme takes the post content, strips HTML tags, block markup and shortcodes, and counts the words by splitting the remaining text on whitespace. It divides the word count by 200 and rounds to the nearest whole number. If the result is below 1, it shows 1.

  • A 1,000-word post shows "5 min read".
  • 1,100 words comes to 5.5 and is rounded to "6 min read".
  • Any post under 300 words shows "1 min read".

Because words are counted by spaces, Turkish and English posts use the same speed. Images add no extra time. Text in code blocks and tables is counted like plain prose. So the number is an estimate; in a post heavy on images or code, the time a reader spends can differ.

Where does it show in each design?

Reading time sits in the post template of all five designs (News, Finance, Technology, Food, Guide), in the author and date line under the title. Some designs also use it in lists:

  • In the Food design, on recipe cards and in the paged recipe list.
  • In the Technology design, on post cards and on the large featured card.
  • In the Guide design, in the "Featured guide" area of the front page, on the rows of archive pages and search results, and in the "Start here" list on category pages.

On a Turkish site it reads "%d dk okuma", on an English site "%d min read". The theme picks the wording from the site language.

Moving, adding or removing the block

In the block inserter it's called "Reading time" and sits in the Theme group. It works from the post it belongs to, so it runs in the post template or inside a Query Loop block. Inside a Query Loop, each card shows the time for that card's post.

  1. In Appearance › Editor, open the template for single posts from the Templates section. If your theme panel is open, the "Single post" tile on the Customize tab takes you straight there.
  2. Find the Reading time block. Drag it, or use the arrow buttons in the block toolbar, to move it.
  3. To remove it, select the block and delete it from the three-dot menu in the toolbar.
  4. Save and open a post in a new tab.

The block's settings let you change the font size and the outer margin. There's no setting for reading speed; 200 words is fixed.

A template you save in the Site Editor becomes your own copy and stays the same when you switch designs. What that means is covered in the design switch guide.

What is reading time good for?

When readers open a post, they see how much time it will take. On long guides and recipes this helps them decide whether to read now or save it for later.

The time is added to the page as visible text only; the theme doesn't write it into structured data (schema).

The Guide design also comes with a built-in table of contents for long posts. Details are in the table of contents guide.

Frequently asked questions

Why does the Site Editor always show "3 min read"?
While you edit a template there's no particular post in play, so the block shows 3 minutes as a sample to mark its place. On the site each post shows its own time.
Does the Reading time block need the theme panel or a license?
No. The block is part of the post template and works even when the theme isn't connected to an account.
What happens if a plugin also shows reading time?
They work separately, and the page can show two times. Turn one off: the plugin's in its own settings, or the theme's by deleting the block in the Site Editor.
Why is the time shorter than I expected?
Images, videos and embeds add no extra time. A post with lots of images and little text comes out short.

For post templates with reading time built in, download Wiozen Theme for free. How it looks on recipe cards is in the recipe blog guide.

Download free