• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

The Cre8tive Diva - WordPress Developer

Digital Nomad | Helping WordPress & Genesis Framework Website Owners All Over the World

  • Home
  • About
    • Accessibility Statement
    • Terms of Service & Privacy
  • Services
    • Blogger to WordPress Migration
    • Buddypress Installation
  • My Work
  • Blog
    • Tutorials
    • Five on Friday
    • Genesis Framework
    • Tipsy Tuesday
    • WordPress
  • Contact
Home » How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin

How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin

Over on the StudioPress Community Forum a participant has asked, “Add reading time to Essence Pro without plugin.” The participant has provided a link to a blog post entitled, “How to Add Reading time in WordPress without using plugin” where the author has provided the necessary code to present the “Reading Time.” However, the participant is unable to implement the second code into his/her Genesis child theme:

<?php echo reading_time(); ?>

In the Genesis Framework you can easily add snippets like this by creating a shortcode.

If you are unfamiliar with working with your theme files, stop and ask for help. If you are familiar with modifying your theme files – you should back them up before proceeding.

Add the Reading Time Code

Modifying the code creates a “shortcode” to replace the above code. Add the following to your functions.php file.

https://gist.github.com/cre8tivediva/c000d15f39f0d87353da345fc8ca6f86

Configure Your Post Entry Meta

For most Genesis Child Themes you will add the code this way through the Customizer. **For Essence Pro, skip here and see instructions further below.

Go to Genesis > Theme Settings > Singular Content. Update the Entry Meta (above content) to include: Reading Time: 2 minutes, then Save. The reading time will then appear on your blog post similar to this. 

How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin

Note: You can also output the Reading Time by adding it to the Entry Meta (below content).

Essence Pro Users

The Post Meta is hard coded in the functions.php file. You will need to add the shortcode to the existing snippet.

Around Line 438 of the functions file, you will need to add your shortcode this way – enter the highlighted content which includes the forward slash (/) before the text after the author link.

after=" &#47;"] Reading Time: 2 minutes

 

How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin

You should see the Reading Time.

How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin

And that’s it!

  • Like my Signature? Get the Signature Widget for Genesis right here!

  • FacebookTweetPinPrint

    Filed Under: Genesis Framework, Tutorials, WordPress

    Primary Sidebar

    It's just me and my dog Bella. I am a freelance web developer at Cre8tiveDiva.com. I build websites using WordPress and the Genesis Framework, WooCommerce and provide troubleshooting and support. I also build with Shopify. I love chocolate, lots of coffee!

    Sign Me Up!

    Receive my blog posts, tips and updates delivered to your inbox!

    Yes, Sign Me Up

    *By signing up you will receive new blogs, updates on products, services and important alerts.

    Categories

    • Design
    • eCommerce
    • Five on Friday
    • Fonts
    • Free Themes
    • Freebie Friday
    • Genesis Framework
    • Genesis Plugins
    • Genesis Themes
    • Genesis Untapped
    • Instagram
    • MailChimp
    • News
    • Plugins
    • Press This News
    • Social Media
    • Tipsy Tuesday
    • Troubleshooting
    • Tutorials
    • Uncategorized
    • Web Development
    • WooCommerce
    • WordPress
    • WordPress Plugins

    Footer

    Digital Nomad! I can be anywhere I wanna be now.

    Latest Blog Posts

    • Temporary Fix When Using Genesis Blocks Posts and Page Grid with Genesis Simple Share
    • How to Add Reading Time to a WordPress Genesis Child Theme Without a Plugin
    • How to Add “Shop” to WooCommerce Breadcrumbs when Using Yoast

    Looking for Something?

    Copyright © 2012–2023 · Designed with by Me! · Hosted on SiteGround