Posted By

idragons on 03/16/11


Tagged

php html5


Versions (?)

Wordpress HTML5 time format


 / Published in: HTML
 

URL: http://idragons.co/

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.