post_count; /* translators: %1$d number of results, %2$s search query */ $_title = sprintf( esc_html( _n( '%1$d search result for "%2$s"', '%1$d search results for "%2$s"', $count, 'bicycleshop' ) ), $count, get_search_query() ); } elseif ( is_archive() ) { if ( is_author() ) { /* translators: %s - author name */ $_title = sprintf( esc_html__( 'Author Archives: %s', 'bicycleshop' ), "" . get_the_author() . "" ); } elseif ( is_category() ) { /* translators: %s - category name */ $_title = sprintf( esc_html__( 'Category Archives: %s', 'bicycleshop' ), '' . single_cat_title( '', false ) . '' ); } elseif ( is_tag() ) { /* translators: %s - tag name */ $_title = sprintf( esc_html__( 'Tag Archives: %s', 'bicycleshop' ), '' . single_tag_title( '', false ) . '' ); } elseif ( is_day() ) { /* translators: %s - day */ $_title = sprintf( esc_html__( 'Daily Archives: %s', 'bicycleshop' ), '' . get_the_date() . '' ); } elseif ( is_month() ) { /* translators: %s - month */ $_title = sprintf( esc_html__( 'Monthly Archives: %s', 'bicycleshop' ), '' . get_the_date( 'F Y' ) . '' ); } elseif ( is_year() ) { /* translators: %s - year */ $_title = sprintf( esc_html__( 'Yearly Archives: %s', 'bicycleshop' ), '' . get_the_date( 'Y' ) . '' ); } else { $_title = esc_html__( 'Blog Archives', 'bicycleshop' ); } } $lazy_load = $bicycleshop_a13->get_option('blog_lazy_load') === 'on'; $pagination_class = $lazy_load? ' lazy-load-on' : ''; get_header(); // Elementor `archive` location if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'archive' ) ){ bicycleshop_title_bar( 'outside', $_title ); ?>