Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function twentyten_posted_on() {
- $comment_number_addon = (is_single() || is_home()) ? ', %4$s' : '';
- printf( __( '%2$s' , 'twentyten' ).$comment_number_addon,
- 'meta-prep meta-prep-author',
- sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
- get_bloginfo('wpurl').'/'.get_the_date('Y/m'),
- esc_attr( get_the_time() ),
- get_the_date()
- ),
- sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
- get_author_posts_url( get_the_author_meta( 'ID' ) ),
- sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
- get_the_author()
- ),
- sprintf( '<span class="meta-comment-count"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
- '#comments', // use #comments to jump to top of comments; use #respond to jump to comment form
- 'jump to comments', // link alt text
- (get_comments_number() != 1) ? get_comments_number().' comments' : get_comments_number().' comment' // comments number
- )
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement