You appear to be a bot. Output may be restricted
Description
Prints HTML with meta information for the current post-date/time and author.
Usage
twentyseventeen_posted_on();
Parameters
Returns
void
Source
File name: twentyseventeen/inc/template-tags.php
Lines:
1 to 12 of 12
function twentyseventeen_posted_on() { // Get the author name; wrap it in a link. $byline = sprintf( /* translators: %s: Post author. */ __( 'by %s', 'twentyseventeen' ), '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . get_the_author() . '</a></span>' ); // Finally, let's write all of this to the page. echo '<span class="posted-on">' . twentyseventeen_time_link() . '</span><span class="byline"> ' . $byline . '</span>'; }