投稿者を見せるのは誰得だ

いらないよな、投稿者。消した。

template-tags.php (inc/template-tags.php) Before-1:(「WordPressで投稿「時刻」を見せたくて悩む」前)

1     // Set up and print post meta information.
2     printf( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5$s</a></span></span>',
3         esc_url( get_permalink() ),
4         esc_attr( get_the_date( 'c' ) ),
5         esc_html( get_the_date() ),
6         esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
7         get_the_author()
8     );

template-tags.php (inc/template-tags.php) Before-2(「WordPressで投稿「時刻」を見せたくて悩む」後):

1     // Set up and print post meta information.
2     printf( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s %4$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%5$s" rel="author">%6$s</a></span></span>',
3         esc_url( get_permalink() ),
4         esc_attr( get_the_date( 'c' ) ),
5         esc_html( get_the_date() ), esc_html( get_the_time() ),
6         esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
7         get_the_author()
8     );

template-tags.php (inc/template-tags.php) After:

1     // Set up and print post meta information.
2     printf( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s %4$s</time></a></span>',
3         esc_url( get_permalink() ),
4         esc_attr( get_the_date( 'c' ) ),
5         esc_html( get_the_date() ), esc_html( get_the_time() )
6     );