remove time stamp only, keep date
-
I want to remove just the time stamp and leave the date. I checked the codex but mine looks more complicated and I’m getting errors with everything I’ve tried. So what parts do I need to delete from this code?
<div class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php unset($previousday); printf( __( '%1$s – %2$s', 'sandbox' ), the_date( '', '', '', false ), get_the_time() ) ?></abbr></div>
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘remove time stamp only, keep date’ is closed to new replies.