Title: HTML5 Update
Last modified: August 20, 2016

---

# HTML5 Update

 *  [Steven Vachon](https://wordpress.org/support/users/prometh/)
 * (@prometh)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/html5-update/)
 * To get this up to date with HTML5 `<time>` tags, apply these changes:
 * **line 117**:
    `$result .= $before.'<a href="'.get_year_link($year).'"><time>'.
   $year.'</time></a> <span>:</span>';`
 * **line 137**:
    `$result .= '<a href="'.get_month_link($year,$month).'">'.$time_tag.'
   </a> ';`
 * **line 139**:
    `$result .= $time_tag.' ';`
 * after all that, _add_ this **below line 135**:
    `$time_tag = '<time datetime="'.
   $year.'-'.sprintf("%02d",$month).'">'.$month_abbrev.'</time>';`
 * Optionally, add `rel="archives"` to the all above lines that have `<a>` tags.
 * [http://wordpress.org/extend/plugins/compact-archives/](http://wordpress.org/extend/plugins/compact-archives/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Noumaan Yaqoob](https://wordpress.org/support/users/noumaan/)
 * (@noumaan)
 * [13 years ago](https://wordpress.org/support/topic/html5-update/#post-3536597)
 * Thanks Steven, we will add this soon.

Viewing 1 replies (of 1 total)

The topic ‘HTML5 Update’ is closed to new replies.

 * ![](https://ps.w.org/compact-archives/assets/icon-256x256.png?rev=2480251)
 * [Compact Archives](https://wordpress.org/plugins/compact-archives/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/compact-archives/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/compact-archives/)
 * [Active Topics](https://wordpress.org/support/plugin/compact-archives/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/compact-archives/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/compact-archives/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Noumaan Yaqoob](https://wordpress.org/support/users/noumaan/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/html5-update/#post-3536597)
 * Status: not a support question