Show Modified Date only if modified
Unless I missed it somewhere, is there a way to only show the modified date when a post or page has been updated? I noticed that the modified date shows even with a new post that has not been updated (modified).
Right now my code is this in my single.php file:
the_modified_date( 'F j, Y', __( 'Last Modified: ', 'st') );
- The topic ‘Show Modified Date only if modified’ is closed to new replies.