>
style="background-image: url('')" >
' . esc_html__( 'All Posts By: ','blossom-shop' ) . esc_html( $author_title ) . ''; echo '
' . wpautop( wp_kses_post( $author_description ) ) . '
'; ?>
', '' ); the_archive_title(); } } if( is_search() ){ echo '' . esc_html__( 'SEARCH RESULTS FOR:', 'blossom-shop' ) . ''; get_search_form(); } if( is_page() ){ the_title( '

', '

' ); } if( is_404() ) { echo '

' . esc_html__( 'Uh-Oh...','blossom-shop' ) . '

'; echo '
' . esc_html__( 'The page you are looking for may have been moved, deleted, or possibly never existed.','blossom-shop' ) . '
'; } if( is_single() ) { blossom_shop_category(); the_title( '

', '

' ); if( 'post' === get_post_type() ){ echo ''; } } ?>
'; if( has_post_thumbnail() ){ the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); }else{ blossom_shop_get_fallback_svg( $image_size );//fallback } echo ''; } } endif; add_action( 'blossom_shop_before_post_entry_content', 'blossom_shop_post_thumbnail', 10 ); if( ! function_exists( 'blossom_shop_entry_header' ) ) : /** * Entry Header */ function blossom_shop_entry_header(){ $blog_layout = get_theme_mod( 'blog_page_layout', 'classic-layout' ); if( is_single() ) { return false; } ?>
'; blossom_shop_category(); if( $blog_layout == 'classic-layout' ) echo '
'; the_title( '

', '

' ); if( 'post' === get_post_type() && $blog_layout != 'classic-layout' ){ echo ''; } ?>
'', ) ); }else{ the_excerpt(); } ?>
'; } if( 'post' === get_post_type() && $blog_layout == 'classic-layout' && !is_single() ){ echo '
'; blossom_shop_posted_on(); blossom_shop_comment_count(); echo '
'; } if( get_edit_post_link() ){ edit_post_link( sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __( 'Edit %s', 'blossom-shop' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ), '', '' ); } ?> '', 'next_text' => '', 'before_page_number' => '' . __( 'Page', 'blossom-shop' ) . ' ', ) ); } } endif; add_action( 'blossom_shop_after_post_content', 'blossom_shop_navigation', 25 ); add_action( 'blossom_shop_after_posts_content', 'blossom_shop_navigation' ); if( ! function_exists( 'blossom_shop_author' ) ) : /** * Author Section */ function blossom_shop_author(){ $ed_author_section = get_theme_mod( 'ed_author', false ); $author_title = get_the_author_meta( 'display_name' ); $author_description = get_the_author_meta( 'description' ); if( !$ed_author_section && $author_title && $author_description ) { ?>
' . esc_html( $author_title ) . ''; echo '
' . wpautop( wp_kses_post( $author_description ) ) . '
'; ?>
'; echo do_shortcode( $insta_code ); echo ''; } } endif; add_action( 'blossom_shop_before_footer_start', 'blossom_shop_instagram', 10 ); if( ! function_exists( 'blossom_shop_newsletter' ) ) : /** * Blossom Newsletter */ function blossom_shop_newsletter(){ $ed_newsletter = get_theme_mod( 'ed_newsletter', false ); $newsletter = get_theme_mod( 'newsletter_shortcode' ); if( $ed_newsletter && !empty( $newsletter ) ){ echo '
'; echo do_shortcode( $newsletter ); echo '
'; } } endif; add_action( 'blossom_shop_before_footer_start', 'blossom_shop_newsletter', 20 ); if( ! function_exists( 'blossom_shop_footer_start' ) ) : /** * Footer Start */ function blossom_shop_footer_start(){ ?> found_posts > 0 ) { $posts_per_page = get_option( 'posts_per_page' ); $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1; $start_post_number = 0; $end_post_number = 0; if( $wp_query->found_posts > 0 && !( blossom_shop_is_woocommerce_activated() && is_shop() ) ): $start_post_number = 1; if( $wp_query->found_posts < $posts_per_page ) { $end_post_number = $wp_query->found_posts; }else{ $end_post_number = $posts_per_page; } if( $paged > 1 ){ $start_post_number = $posts_per_page * ( $paged - 1 ) + 1; if( $wp_query->found_posts < ( $posts_per_page * $paged ) ) { $end_post_number = $wp_query->found_posts; }else{ $end_post_number = $paged * $posts_per_page; } } printf( esc_html__( '%1$s Showing: %2$s - %3$s of %4$s RESULTS %5$s', 'blossom-shop' ), '', absint( $start_post_number ), absint( $end_post_number ), esc_html( number_format_i18n( $wp_query->found_posts ) ), '' ); endif; } } endif; add_action( 'blossom_shop_before_posts_content' , 'blossom_shop_posts_per_page_count', 10 );