Instantly share code, notes, and snippets.

Embed
What would you like to do?
Output the 'last updated' date with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Output the 'last updated' date with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/last-updated-date/
*/
add_filter( 'genesis_post_info', 'rtug_last_updated_date' );
function rtug_last_updated_date() {
return 'Last updated [post_modified_date]';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment