howto: Show last updated on page rev 19 aug 2019 > on page | plugin/functions | page template ....................................................... show last updated date on a page - how to: * How to Display when a Post was Last Updated in WordPress https://pagely.com/blog/display-post-last-updated-wordpress/ [jun 2015] ......................... In plugin or functions file: add_filter( 'the_content', 'display_last_updated_date' ); function display_last_updated_date( $content ) { $original_time = get_the_time('U'); $modified_time = get_the_modified_time('U'); if ($modified_time >= $original_time + 86400) { $updated_time = get_the_modified_time('h:i a'); $updated_day = get_the_modified_time('F jS, Y'); $modified_content .= '

This post was last updated on '. $updated_day . ' at '. $updated_time .'

'; } $modified_content .= $content; return $modified_content; } ......................... In the page template: Just use the code inside the function. _______________________________________________________ begin 20 jun 2019 -- 0 --