Guest User

Untitled

a guest
Mar 30th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function get_date1() {
  2. $buffy = '';
  3. $td_article_date_unix = get_the_time('U', $this->post->ID);
  4. $buffy .= '<span class="td-post-date">';
  5. $buffy .= '<time class="entry-date updated td-module-date' . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . get_the_time(get_option('date_format'), $this->post->ID) . '</time>';
  6. $buffy .= '</span>';
  7.  
  8. return $buffy;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment