Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( ! function_exists( 'responsive_post_meta_data' ) ) :
- /**
- * This function prints post meta data.
- */
- function responsive_post_meta_data() {
- printf( __( '<span class="%1$s">Posted on </span>%2$s<span class="%3$s"> by </span>%4$s', 'responsive' ),
- 'meta-prep meta-prep-author posted',
- sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="timestamp">%3$s</span></a>',
- esc_url( get_permalink() ),
- esc_attr( get_the_time() ),
- esc_html( get_the_date() )
- ),
- 'byline',
- sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
- esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
- esc_attr( sprintf( __( 'View all posts by %s', 'responsive' ), get_the_author() ) ),
- esc_html( get_the_author() )
- )
- );
- }
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement