Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. function twentyten_posted_on() {
  2.     printf( __( '<span class="%1$s"></span> %2$s <span class="meta-sep"> by %3$s </span>', 'twentyten' ),
  3.         'meta-prep meta-prep-author',
  4.         sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
  5.             get_permalink(),
  6.             esc_attr( get_the_time() ),
  7.             get_the_date()
  8.         ),
  9.         sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
  10.             get_author_posts_url( get_the_author_meta( 'ID' ) ),
  11.             sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
  12.             get_the_author()
  13.         )
  14.     );
  15. }
  16. endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement