'; // translators: %s represents author link tag. $html .= sprintf( esc_html__( 'by %s', 'alpus' ), get_the_author_posts_link() ); $html .= ''; $id = get_the_ID(); $link = get_day_link( get_post_time( 'Y', false, $id, false ), get_post_time( 'm', false, $id, false ), get_post_time( 'j', false, $id, false ) ); $html .= '' . esc_html( get_the_date() ) . ''; if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) { ob_start(); // translators: %1$s and %2$s are opening and closing of mark tag. $zero = sprintf( esc_html__( '%1$s0%2$s Comment', 'alpus' ), '', '' ); //phpcs:ignore // translators: %1$s and %2$s are opening and closing of mark tag. $one = sprintf( esc_html__( '%1$s1%2$s Comment', 'alpus' ), '', '' ); //phpcs:ignore // translators: %1$s and %3$s are opening and closing of mark tag, %2$s is %. $more = sprintf( esc_html__( '%1$s%2$s%3$s Comments', 'alpus' ), '', '%', '' ); //phpcs:ignore comments_popup_link( $zero, $one, $more, 'comments-link scroll-to local' ); $html .= ob_get_clean(); } if ( $html ) { echo '
'; }