Geek Dashboard Home
  • News
  • Smartphones
    • Android
    • iOS
  • Computers
    • Windows
    • macOS
  • Internet
  • Reviews
  • Tools
    • Password Generator
    • iFrame Tester
Search Geek Dashboard
Home • Blogging

How to Show “Last Updated on” Date in Genesis Child Themes

Amar Ilindra • Updated March 24, 2022 • 3 min read • 7 Comments

Google is frequently updating its algorithm to decide the post’s ranking position in search results. Sites that are hiding their post published dates are being penalized these days. All Google need is fresh and unique content. You should update your old articles to rank them better than normal. The best way to say to Google that you just updated your article is by showing Last updated on or Last modified on date in your articles.

show last modified date in wordpress

For example, you published an article on 25 July 2014 and later you updated the same article by adding some new content or links on 11 August 2015, then WordPress shows Last Updated on 11 August 2014 as the published date. Even Google SERPS shows 11 August 2015. This makes your content fresh and latest, which helps to rank the post better.

There are many ways to show Last Updated on date in WordPress Posts on Genesis Framework. You can do this either using WordPress plugin or just by adding simple code to your theme’s functions.php file

It is not good advice to use plugins for everything. As this is a simple tweak, you can just add the below code to the functions.php file. If you are new to coding and have no idea about programming, better go with a plugin. functions.php is an important file, don’t mess with it, one misplaced ; can make your site stop working. Keep reading to know more about these two ways to show the last updated date in Genesis child themes.

Note: We are just modifying the child theme files, You can update the Framework and these changes will stay active even after updating.

Bonus: 5 Best WordPress Popup Plugins

Method 1: WordPress Plugin to Show “Last Updated on” Date in Genesis

  1. Install and activate the Genesis Simple Edits plugin developed by Studiopress.
  2. Go to Genesis >  Simple Edits
  3. Replace the line mentioned here at Entry Meta (above the content) field
  4. Click Save Settings
  5. You’re done.

show last updated date in geneis

Method 2: Code Snippet to show Last updated date in Genesis Child Themes

You are now editing the functions file. So it is highly recommended to backup the functions.php file to be on the safe side. You can find this file at Appearance > Editor

Paste the following code at the end of functions.php and click Update File

Before and After adding code

add last updated on genesis

That’s all geeks! Hope you enjoyed this guide and will see some improvements in traffic. Let us know if you face any problems while using our code. Happy Blogging.

Blogging genesis genesis tips Plugins WordPress

Be the Change!

Spread the word and help us create better tech content

Facebook Twitter Reddit WhatsApp Pinterest
Avatar for Amar Ilindra

Amar Ilindra

•
Facebook LinkedIn Instagram GitHub

Amar Ilindra is a tech-savvy individual who is passionate about gadgets and new technology. He is a full-stack developer who enjoys experimenting with technology and sharing his experiences through blogging. When he's not writing, he devotes his time to creating practical web and mobile applications for both Android and iOS platforms.

Read all 480 articles from Amar

Comments

  1. Avatar for JeanJean says

    March 24, 2022 at 2:17 AM

    Thank you, I changed the code and it worked. However, the “published on” date is no longer there any more. How can I show both?

    Reply
    • Avatar for Amar IlindraAmar Ilindra says

      March 24, 2022 at 11:22 AM

      To show, both Published Date and Last Modified Date, use the following code:

      Published on [post_date], Last Updated on [post_modified_date] by [post_author_posts_link] [post_comments] [post_edit]

      Reply
  2. Avatar for --kevn--kevn says

    April 4, 2019 at 2:26 AM

    great article, TY. How do you show modified date on pages?

    Reply
    • Avatar for Amar IlindraAmar Ilindra says

      April 4, 2019 at 12:25 PM

      Can I know the use case where you need to show date in pages?

      Pages are usually static and used to show important information which generally doesn’t need date and time.

      In case if you still need it, just remove if ( !is_page() ) { condition from the above code.
      Don’t forget to remove extra } at the end.

      Reply
  3. Avatar for Sreehari SreeSreehari Sree says

    January 9, 2018 at 11:38 PM

    Code is missing!!

    Reply
    • Avatar for Amar IlindraAmar Ilindra says

      January 12, 2018 at 1:16 PM

      We have updated the article with links to github.

      Reply
  4. Avatar for Damola OyekunleDamola Oyekunle says

    August 27, 2016 at 3:42 PM

    Thanks for this. I opted for Simple edits plugin as I was already using it for editing the footer

    Reply

Leave a Reply Cancel reply

The comments section is to assist our readers with any inquiries. Each comment undergoes rigorous moderation before it can be approved for publication.Your name and comment will be publicly visible. Your email address will not be published.Required fields are marked *

Over 1,30,286+ Followers

Join now to get all latest updates from Geek Dashboard

Facebook Twitter Telegram Pinterest YouTube Instagram

Recently Published

  1. TAGRY X08 True Wireless Earbuds Review: Budget-Friendly Excellence with Long Battery Life
  2. Why Are Tech Lawsuits Becoming the New Normal in the US
  3. My Experience of Using TuneFab Amazon Video Downloader
  4. Wondershare Dr. Fone 13 Review - The Ultimate Mobile Toolkit for iOS and Android
  5. TOZO OpenEgo Review - Is It a Reliable and Practical Headphone?
  6. Samsung Lost its Crown as the Top Foldable Smartphone Seller Worldwide

Download the Apps Now

We put a lot of effort and resources in writing our articles, and we believe it is our responsibility to satisfy your tech hunger

Download Geek Dashboard Android App on Google PlayAndroid App onGoogle Play Download Geek Dashboard Extension on Chrome Web StoreBrowser Extension onChrome Web Store
Geek Dashboard Logo

Geek Dashboard brings you the latest and greatest in technology news, reviews, and how-to guides. From smartphones to laptops, drones to VR and everything in between, we've got you covered

Got a Tip? Write In? tip@geekdashboard.com

© 2012 - 2025 · Geek Dashboard, product of ikva eSolutions

  • Blog
  • Advertise
  • About
  • Jobs
  • Contact
  • Privacy Policy
  • Write For Us
  • T&C
  • Office Setup

No dogs were injured while working on this website because we love them