Guest User

Untitled

a guest
Sep 8th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. $td_article_date_unix = get_the_time('U', $this->post->ID);
  2. $diff_time = human_time_diff( get_the_time('U', $this->post->ID), current_time('timestamp') );
  3. $buffy .= '<time itemprop="dateCreated" class="entry-date updated' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . $diff_time . ' ago' . '</time>';
  4. $buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
Advertisement
Add Comment
Please, Sign In to add comment