>

' . esc_html( $author_title ) . ''; ?>
' . wp_kses_post( wpautop( $author_description ) ) . '
'; ?>
'; the_archive_title(); the_archive_description( '
', '
' ); blossom_magazine_posts_per_page_count(); echo ''; } } if( is_search() ){ $search_title = get_theme_mod( 'search_title', __( 'Search Result For', 'blossom-magazine' ) ); echo '
'; echo '

' . esc_html( $search_title ) . '

'; get_search_form(); blossom_magazine_posts_per_page_count(); echo '
'; } ?> '; if( ! is_front_page() ) echo ''; if( ! is_front_page() ) echo '
'; ?>
'; blossom_magazine_category(); echo '
'; } the_title( '

', '

' ); echo '
'; if( !$ed_post_author ) blossom_magazine_posted_by(); if( !$ed_post_date ) blossom_magazine_posted_on(); echo '
'; ?> '; if( $ed_crop_single ){ the_post_thumbnail( 'full', array( 'itemprop' => 'image') ); }else{ the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); } echo ''; } ?>
'; echo ''; the_title( '

', '

' ); echo '
'; } } endif; add_action( 'blossom_magazine_post_entry_content', 'blossom_magazine_entry_header', 10 ); if ( ! function_exists( 'blossom_magazine_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_magazine_post_thumbnail() { $ed_crop_blog = get_theme_mod( 'ed_crop_blog', false ); $sidebar = blossom_magazine_sidebar(); if( is_home() ){ $image_size = blossom_magazine_blog_layout_image_size(); 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_magazine_get_fallback_svg( $image_size );//fallback } echo ''; }elseif( is_archive() || is_search() ){ $image_size = blossom_magazine_blog_layout_image_size(); 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_magazine_get_fallback_svg( $image_size );//fallback } echo ''; }elseif( is_singular() ){ $image_size = ( $sidebar ) ? 'blossom-magazine-with-sidebar' : 'full'; if( has_post_thumbnail() ){ echo '
'; the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) ); echo '
'; } } } endif; add_action( 'blossom_magazine_before_page_entry_content', 'blossom_magazine_post_thumbnail' ); add_action( 'blossom_magazine_before_post_entry_content', 'blossom_magazine_post_thumbnail', 20 ); if( ! function_exists( 'blossom_magazine_entry_content' ) ) : /** * Entry Content */ function blossom_magazine_entry_content(){ $ed_excerpt = get_theme_mod( 'ed_excerpt', true ); ?>
'', ) ); }else{ the_excerpt(); echo ''; } ?>
'; ?> '; ?> __( 'Previous', 'blossom-magazine' ), 'next_text' => __( 'Next', 'blossom-magazine' ), 'before_page_number' => '' . __( 'Page', 'blossom-magazine' ) . ' ', ) ); } } endif; add_action( 'blossom_magazine_after_post_content', 'blossom_magazine_navigation', 20 ); add_action( 'blossom_magazine_after_posts_content', 'blossom_magazine_navigation' ); if( ! function_exists( 'blossom_magazine_author' ) ) : /** * Author Section */ function blossom_magazine_author(){ $ed_author = get_theme_mod( 'ed_author', false ); $author_title = get_theme_mod( 'author_title', __( 'About Author', 'blossom-magazine' ) ); if( ! $ed_author && get_the_author_meta( 'description' ) ){ ?>
' . esc_html( $author_title ) . ''; blossom_magazine_posted_by(); ?>
'; comments_template(); echo '
'; endif; } endif; add_action( 'blossom_magazine_after_post_content', 'blossom_magazine_comment', blossom_magazine_comment_toggle() ); add_action( 'blossom_magazine_after_page_content', 'blossom_magazine_comment' ); if( ! function_exists( 'blossom_magazine_content_end' ) ) : /** * Content End */ function blossom_magazine_content_end(){ if( ! is_front_page() ) echo ''; //.container if( ! is_front_page() ) echo ''; ?> '; echo do_shortcode( $insta_code ); echo ''; } } endif; add_action( 'blossom_magazine_before_footer', 'blossom_magazine_instagram_section', 40 ); if( ! function_exists( 'blossom_magazine_footer_start' ) ) : /** * Footer Start */ function blossom_magazine_footer_start(){ ?>