Geek Dashboard

How-To's, Smartphones, News and Reviews

  • Home
  • News
  • Smartphones
    • Android
    • iOS
  • Computers
    • Windows
    • macOS
  • Internet
  • Reviews
You are at Home » Blogging

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

Last Updated on March 24, 2022 by Amar Ilindra 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.

#genesis#genesis tips#Plugins#WordPress
Posted inBlogging

Spread the Word!

Avatar for Amar Ilindra

Amar Ilindra Facebook Twitter 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.

Related articles

Blogging

How to Add Infinite Scroll to Genesis Child Theme Archives

Infinite Scroll for Genesis with Free WordPress Plugin
Blogging

How to install WordPress on Localhost using WebMartix

install wordpress in localhost
Reviews

Fame Themes Review | Premium WordPress Themes

wpshit review

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

Comment Policy:

The comments section is aimed to help our readers in case of any questions or you can even appreciate us for our hard work. Every comment is strictly moderated before approving it.

Your name and comment will be visible to the public. Never share your personal information in the comments section.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Over 1,30,286+ Followers

Join to get latest updates from Geek Dashboard

Facebook Twitter Telegram Pinterest YouTube Instagram

Recently Published

  1. Tecno Spark Go (2023) Launched with MediaTek Helio A22 SoC and Dual Cameras in India

  2. Creating Social Media Visuals: 9 Tips, Tricks, and Tools

  3. Hum to Search: 5 Best Music Recognition Apps to Find a Song by Humming

  4. Fire-Boltt Talk Ultra With Bluetooth Calling and 123 Sport Modes Launched in India

  5. Wikolo Super App: Bringing Countless Benefits for Students

Geek Dashboard Placeholder

Download the apps and never miss a story from us

We put a lot effort and resources in writing our articles and we believe it is our responsibility to satisfy your tech hunger. We will keep you filled forever!

  • Get Geek Dashboard App from Google Play
  • Get Geek Dashboard App from Chrome Web Store
Geek Dashboard Logo

At Geek Dashboard, we are dedicated to bringing you the latest and greatest in technology news, reviews, and how-to guides. From smartphones to laptops, and everything in between, we've got you covered.

Got a Tip? Write In tip@geekdashboard.com

© 2012 - 2023 · 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