Advertisement
alchymyth

Untitled

Oct 31st, 2011
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Prints HTML with meta information for the current post-date/time and author.
  3.  * Create your own twentyeleven_posted_on to override in a child theme
  4.  *
  5.  * @since Twenty Eleven 1.0
  6.  */
  7. function twentyeleven_posted_on() {
  8.     printf( __( '<span class="sep">Posted on </span><time class="entry-date" datetime="%1$s" pubdate>%2$s</time>', 'twentyeleven' ),
  9.         esc_attr( get_the_date( 'c' ) ),
  10.         esc_html( get_the_date() )
  11.     );
  12. }
  13.  
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement