Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML5 <time> element for GS page dates
#1
Always used to have 
PHP Code:
<?php get_page_date('F jS, Y'); ?>

to show the last save date of a page.
If I want to use the html5 preferred method of a <time> element so google can read it easier I do this:
Code:
<time class="published" datetime="<?php get_page_date('c'); ?>"><?php get_page_date('F jS, Y'); ?> </time>
Is that right? 
Reply




Users browsing this thread: 1 Guest(s)