>
'; the_custom_logo(); echo '
'; } ?> '; if ( is_front_page() ) : ?>

'; endif; ?>
', '', number_format_i18n( $wp_query->found_posts ), '' ); } } endif; add_action( 'blossom_coach_before_posts_content', 'blossom_coach_post_count' ); if ( ! function_exists( 'blossom_coach_post_thumbnail' ) ) : /** * Displays an optional post thumbnail. * * Wraps the post thumbnail in an anchor element on index views, or a div * element when on single views. */ function blossom_coach_post_thumbnail(){ global $wp_query; $image_size = 'thumbnail'; $ed_featured = get_theme_mod( 'ed_featured_image', true ); $blog_layout = get_theme_mod( 'blog_page_layout', 'grid' ); $sidebar = blossom_coach_sidebar(); ?>
'; if( has_post_thumbnail() ){ the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); }else{ blossom_coach_get_fallback_svg( $image_size ); } echo ''; }elseif( is_archive() || is_search() ){ echo ''; if( has_post_thumbnail() ){ the_post_thumbnail( 'blossom-coach-latest', array( 'itemprop' => 'image' ) ); }else{ blossom_coach_get_fallback_svg( 'blossom-coach-latest' ); } echo ''; }elseif( is_singular() ){ $image_size = ( $sidebar ) ? 'blossom-coach-with-sidebar' : 'blossom-coach-fullwidth'; if( is_single() ){ if( $ed_featured ) the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); }else{ the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); } } ?>
'; blossom_coach_category(); echo '
'; } if ( is_singular() ) : the_title( '

', '

' ); else : the_title( '

', '

' ); endif; if( is_single() && 'post' === get_post_type() ){ echo '
'; blossom_coach_posted_on(); blossom_coach_posted_by(); blossom_coach_comment_count(); echo '
'; } ?>
'', ) ); }else{ the_excerpt(); } ?>
', '', esc_html( get_the_author_meta( 'display_name' ) ), '' ); echo '
' . wp_kses_post( get_the_author_meta( 'description' ) ) . '
'; ?>
__( 'Previous', 'blossom-coach' ), 'next_text' => __( 'Next', 'blossom-coach' ), 'before_page_number' => '' . __( 'Page', 'blossom-coach' ) . ' ', ) ); } } endif; add_action( 'blossom_coach_after_post_content', 'blossom_coach_navigation', 25 ); add_action( 'blossom_coach_after_posts_content', 'blossom_coach_navigation' ); if( ! function_exists( 'blossom_coach_related_posts' ) ) : /** * Related Posts */ function blossom_coach_related_posts(){ $ed_related_post = get_theme_mod( 'ed_related', true ); if( $ed_related_post ){ blossom_coach_get_posts_list( 'related' ); } } endif; add_action( 'blossom_coach_after_post_content', 'blossom_coach_related_posts', 30 ); if( ! function_exists( 'blossom_coach_latest_posts' ) ) : /** * Latest Posts */ function blossom_coach_latest_posts(){ blossom_coach_get_posts_list( 'latest' ); } endif; add_action( 'blossom_coach_latest_posts', 'blossom_coach_latest_posts' ); if( ! function_exists( 'blossom_coach_comment' ) ) : /** * Comments Template */ function blossom_coach_comment(){ // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; } endif; add_action( 'blossom_coach_after_post_content', 'blossom_coach_comment', 35 ); add_action( 'blossom_coach_after_page_content', 'blossom_coach_comment' ); if( ! function_exists( 'blossom_coach_content_end' ) ) : /** * Content End */ function blossom_coach_content_end(){ $home_sections = blossom_coach_get_home_sections(); if( !( is_front_page() && ! is_home() && $home_sections ) ){ ?> '; echo do_shortcode( '[blossomthemes_instagram_feed]' ); echo ''; } } } endif; add_action( 'blossom_coach_before_footer', 'blossom_coach_instagram', 22 ); if( ! function_exists( 'blossom_coach_newsletter_section' ) ) : /** * Newsletter Section */ function blossom_coach_newsletter_section(){ $ed_newsletter = get_theme_mod( 'ed_newsletter', false ); $newsletter = get_theme_mod( 'newsletter_shortcode' ); if( blossom_coach_is_btnw_activated() && $ed_newsletter && $newsletter && has_shortcode( $newsletter, 'BTEN' ) && ! is_single() ){ ?>