Posted By

idragons on 03/16/11


php html5

Versions (?)

Wordpress HTML5 time format

 / Published in: HTML


Hello, Here is snippet to show wordpress posted date using html5 time tag.

  1. <time datetime="<?php the_time('c'); ?>" pubdate>
  2. <?php the_time('F jS, Y'); ?>
  3. </time>

Report this snippet  

You need to login to post a comment.