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