How to add read time on to article and blog without 3rd party on Debut theme

I tried using a 3rd party app but it was buggy and there was a lack of support. I was wondering if I could manually insert the code.

Cheers,

Hi.
Try this β†’
{% assign reading_time = article.content | strip_html | split: ’ ’ | size | times: 1.0 | divided_by: 250 | ceil %}
{{ reading_time }} min read

average reading time is said to be around 250 words per minute.

will that be same for dawn theme? and where should i paste this code? in base.css?

Hi. In Dawn theme You can add code in sections/main-article.liquid
after {%- when β€˜title’-%} ..

Hey,

we have created a new app for this, which helps you add the estimated read time for any Shopify OS2 theme without any coding. At the same time, it allows you to add a reading progress bar to your blog posts as well. It comes with a 7-day trial, if you want to try it out: Estimated Read Time app

You can check out how this looks here: Estimated Reading Time in action

If you have any questions or feedback, let us know. If you need any support, let us know.