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 gadget freak, tech enthusiast and full stack developer. He loves to try everything with technology and blog about his tech experience. Apart from writing, he spends most of this time developing useful web apps and mobile applications for Android and iOS.

Related articles

Blogging

Choosing the Right Web Hosting for your Website using HRANK

HRANK Graph
Mobiles

Top 6 Tools To Develop Android Apps For Your Blog Without Coding Knowledge

Appinstitute app builder
Blogging

What to Consider when Choosing a VPS Host [Explained]

How to choose right VPS Host

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. Infinix Note 12 VIP Launched with a 120Hz Display, a 108MP Primary Camera and a 120W Fast Charging

  2. New Dell G15 5520 and G15 5521 Gaming Laptops with 12th Gen Intel Chipsets Launched in India

  3. Motorola Edge 30 Officially Launched in India with Snapdragon 778G SoC starting at Rs. 27,999

  4. Surfshark Review – A Lock Over Your Privacy

  5. Fortnite Returns to iOS Devices Through Microsoft's Xbox Cloud Gaming for Free

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
Advertisement
Geek Dashboard Logo

Geek Dashboard, a technology blog strives to produce high-quality tech for our readers. Here you will find the latest updates on trending tech news, unbiased product reviews, and how-to guides on various gadgets.

Got a Tip? Write In tip@geekdashboard.com

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