last modified date
Hi. i’ve seen a lot of discussion on this and tried similar to the discussion under “https://generatepress.com/forums/topic/displaying-last-updated-date-time-on-posts/” I used the code in my functions.php function wpb_last_updated_date( $content ) { $u_time = get_the_time(‘U’); $u_modified_time = get_the_modified_time(‘U’); if ($u_modified_time >= $u_time + 86400) { $updated_date = get_the_modified_time(‘F jS, Y’); $updated_time = get_the_modified_time(‘h:i a’); $custom_content .= ‘<p class=”last-updated”>Last … Read more