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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Display Post Modified Date If Updated Otherwise Display The Original Post Date In Genesis

The code in this download folder enables you to display the post modified date if the post has been updated otherwise, the original date is shown.

This example shows the original date as this post has NOT been updated :

Original Post Date Genesis

This example shows the post modified date as the post has been updated :

Post Modified Date Genesis

Demo Video

Shows the post date in the entry header on single posts replaced by the modified date if the post has been updated.

Tested using the Eleven40 Pro child theme by StudioPress however will work in any Genesis child theme without modification.

Installation Steps

There’s 2 steps :

# Step 1 – Copy & paste the PHP code from the functions.php file ( without the opening PHP tag ) to the end of your child themes functions file.

Step 1

# Step 2 – Click the Update button on the Edit Post screen to see the date change from the original post date to the post modified date as seen in the demo video.

Step 2

Download Folder

Related Tutorials

  • Show Author Avatar Inline With Custom Post Info In Genesis

Eleven40 Pro Theme Entry Meta

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.