Human date format enhancement
-
Can you change it to this?
if ( $include_date ) { if($date_format='human') { $dt = human_time_diff(get_the_date('U')) . ' ago'; } else { $dt = get_the_date( $date_format ); } $date = ' <span class="date">' . $dt . '</span>'; }
- The topic ‘Human date format enhancement’ is closed to new replies.