Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add this to code to your themes functions.php file to show last modified date in Genesis powered child themes
// Code for showing last updated date in Genesis Child Themes --- BEGIN --
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = 'Last Updated on [post_modified_date] by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}}
// Code for showing last updated date in Genesis Child Themes --- END -- (www.GeekDashboard.com)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.