Advertisement
alchymyth

Untitled

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