Advertisement
Guest User

Posted On Function

a guest
Jun 4th, 2012
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. /* Posted On Function */
  2. if ( ! function_exists( 'brunelleschi_posted_on' ) ):
  3. function brunelleschi_posted_on() {
  4. printf( __('<span class="meta-sep">by</span> %3$s <span class="%1$s">Posted on</span> %2$s', 'brunelleschi' ),
  5. 'meta-prep meta-prep-author',
  6. sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
  7. get_permalink(),
  8. esc_attr( get_the_time() ),
  9. get_the_date()
  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', 'brunelleschi' ), get_the_author() ),
  14. get_the_author()
  15. )
  16. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement