The new blogging trend is letting your readers know how long a post will take them to read. You can easily add read time to a post using a plugin. But, there are just too many blog posts and tutorials out there that give you a plugin solution when you really need a PHP solution. Adding too many plugins to your site can slow it down and introduce security hazards. So, whenever possible, you should do your own coding or hire a developer for a longer-term solution.
If you’re looking for an all-in-one self-hosted solution, be sure to check out our WordPress hosting packages.
In this article, you will:
- Learn why you need to use a child theme
- Edit your theme files
- Add reading time using PHP
WordPress guidelines for creating child themes.
Basically, child themes are the safest way to edit your theme files and retain the changes you’ve made.
Log into your WordPress Dashboard
Now, any code you add to the single post theme template will affect all blog posts on your site.