" . get_the_author() . ""; $date = "" . date_i18n( get_option( 'date_format' ), strtotime( get_the_date( 'r' ) ) ) . ""; echo '
'; if ( $author_display == 'hide' ) { printf( esc_html_x( 'Published %s', 'This blog post was published on some date', 'period' ), $date ); } elseif ( $date_display == 'hide' ) { printf( esc_html_x( 'Published by %s', 'This blog post was published by some author', 'period' ), $author ); } else { printf( esc_html_x( 'Published %1$s by %2$s', 'This blog post was published on some date by some author', 'period' ), $date, $author ); } echo '
';