>
'; } } endif; add_action( 'blossom_studio_content', 'blossom_studio_content_start' ); if( ! function_exists( 'blossom_studio_entry_header' ) ) : /** * Entry Header */ function blossom_studio_entry_header(){ ?>
', '' ); else : the_title( '

', '

' ); endif; if( 'post' === get_post_type() && is_single() ){ echo ''; } ?>
'; if( has_post_thumbnail() ){ if( $ed_crop_blog ){ the_post_thumbnail( 'full', array( 'itemprop' => 'image' ) ); }else{ the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); } }else{ blossom_studio_get_fallback_svg( $image_size );//fallback } echo ''; }elseif( is_archive() || is_search() ){ echo '
'; if( has_post_thumbnail() ){ if( $ed_crop_blog ){ the_post_thumbnail( 'full', array( 'itemprop' => 'image' ) ); }else{ the_post_thumbnail( 'blossom-studio-blog-grid', array( 'itemprop' => 'image' ) ); } }else{ blossom_studio_get_fallback_svg( 'blossom-studio-blog-grid' );//fallback } echo '
'; }elseif( is_singular() ){ $image_size = 'blossom-studio-single'; if( is_single() ){ if( $ed_featured && has_post_thumbnail() ){ echo '
'; if( $ed_crop_single ){ the_post_thumbnail( 'full', array( 'itemprop' => 'image' ) ); }else{ the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); } echo '
'; } }elseif( is_page() ){ if( has_post_thumbnail() ){ echo '
'; the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); echo '
'; } } } } endif; add_action( 'blossom_studio_before_page_entry_content', 'blossom_studio_post_thumbnail' ); add_action( 'blossom_studio_before_post_entry_content', 'blossom_studio_post_thumbnail', 10 ); add_action( 'blossom_studio_before_single_entry_content', 'blossom_studio_post_thumbnail', 10 ); if( ! function_exists( 'blossom_studio_single_article_meta' ) ) : /** * Entry Header */ function blossom_studio_single_article_meta(){ ?>
'', ) ); }else{ the_excerpt(); } ?>
%s', 'blossom-studio' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ), '', '' ); } ?>
__( 'Previous', 'blossom-studio' ), 'next_text' => __( 'Next', 'blossom-studio' ), 'before_page_number' => '' . __( 'Page', 'blossom-studio' ) . ' ', ) ); } } endif; add_action( 'blossom_studio_after_post_content', 'blossom_studio_navigation', 15 ); add_action( 'blossom_studio_after_posts_content', 'blossom_studio_navigation' ); if( ! function_exists( 'blossom_studio_author' ) ) : /** * Author Section */ function blossom_studio_author(){ $ed_author = get_theme_mod( 'ed_author', false ); $author_title = get_theme_mod( 'author_title', __( 'About the Author', 'blossom-studio' ) ); $author_name = get_the_author(); if( ! $ed_author && get_the_author_meta( 'description' ) ){ ?>
' . esc_html( $author_title ) . ''; if( $author_name ) echo '

' . esc_html( $author_name ) . '

'; ?>
'; ?>
'; echo do_shortcode( $insta_code ); echo '
'; } } endif; add_action( 'blossom_studio_before_footer', 'blossom_studio_instagram_section', 40 ); if( ! function_exists( 'blossom_studio_footer_start' ) ) : /** * Footer Start */ function blossom_studio_footer_start(){ ?>