' . sprintf( $msg, '' . get_the_date() ) . ''; } elseif ( is_month() ) { // translators: %s archive date $msg = apply_filters( 'aweaver_monthly_archives', esc_html__( 'Monthly Archives: %s', 'absolute-weaver' ) ); $archive = '' . sprintf( $msg, '' . get_the_date( 'F Y' ) ) . ''; } elseif ( is_year() ) { // translators: %s archive date $msg = apply_filters( 'aweaver_yearly_archives', esc_html__( 'Yearly Archives: %s', 'absolute-weaver' ) ); $archive = '' . sprintf( $msg, '' . get_the_date( 'Y' ) ) . ''; } elseif ( is_tax() ) { // these improve presentation of custom tax titles $archive = single_term_title( '', false ); } else { $archive = post_type_archive_title( '', false ); } ?>