By %1$s',
sprintf( '%3$s',
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( 'View all posts by ' . get_the_author() ),
esc_html( get_the_author() )
)
); ?>
|
Published on %1$s',
sprintf( '',
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_attr( get_the_time( get_option( 'date_format' ) ) )
)
);
if ( wp_attachment_is_image() ) {
echo ( '|' );
$metadata = wp_get_attachment_metadata();
printf( 'Full size is %s pixels',
sprintf( '%3$s × %4$s',
esc_url( wp_get_attachment_url() ),
esc_attr( 'Link to full-size image' ),
$metadata['width'],
$metadata['height']
)
);
}
if ( current_user_can( 'edit_published_posts' ) || current_user_can( 'edit_published_posts' ) ) {
edit_post_link( 'Edit', '', '' );
}
?>