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.
- *
- * Adopted from Twenty Eleven
- */
- function responsive_post_meta_data() {
- printf( __( '<span class="posted">%1$s </span><a href="%2$s" title="%3$s" rel="bookmark"><span class="timestamp" "%4$s">%5$s</span></a><span class="byline"> %6$s <span class="author vcard"><a class="url fn n" href="%7$s" title="%8$s" rel="author">%9$s</a></span></span>', 'responsive' ),
- esc_attr( sprintf( __( 'Posted on', 'responsive' ) ) ),
- esc_url( get_permalink() ),
- esc_attr( get_the_time() ),
- esc_attr( get_the_date( 'c' ) ),
- esc_html( get_the_date() ),
- esc_attr( sprintf( __( 'by', 'responsive' ) ) ),
- esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
- esc_attr( sprintf( __( 'View all posts by %s', 'responsive' ), get_the_author() ) ),
- get_the_author()
- );
- }
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement