Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $td_article_date_unix = get_the_time('U', $this->post->ID);
- $diff_time = human_time_diff( get_the_time('U', $this->post->ID), current_time('timestamp') );
- $buffy .= '<time itemprop="dateCreated" class="entry-date updated' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . $diff_time . ' ago' . '</time>';
- $buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
Advertisement
Add Comment
Please, Sign In to add comment