';
if( $blog_text ) echo '
' . esc_html( $blog_text) . '
';
if( $blog_content ) echo '
' . wp_kses_post( wpautop( $blog_content ) ). '
';
echo '
';
}
if( is_archive() ){
if( is_author() ){
$author_title = get_the_author_meta( 'display_name' );
$author_description = get_the_author_meta( 'description' );
$about_author = get_theme_mod( 'author_title', __( 'About The Author', 'blossom-floral-pro' ) ); ?>
';
the_archive_title();
the_archive_description( '';
blossom_floral_pro_gravatar( get_the_author_meta( 'ID' ), 30 );
blossom_floral_pro_posted_by();
blossom_floral_pro_posted_on();
echo '
';
echo '';
}
}
endif;
add_action( 'blossom_floral_pro_post_entry_content', 'blossom_floral_pro_entry_header', 10 );
if ( ! function_exists( 'blossom_floral_pro_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_floral_pro_post_thumbnail() {
$ed_crop_blog = get_theme_mod( 'ed_crop_blog', false );
$sidebar = blossom_floral_pro_sidebar();
if( is_home() ){
$image_size = blossom_floral_pro_blog_layout_image_size();
if( has_post_thumbnail() ){
echo '';
the_post_thumbnail( $image_size, array( 'itemprop' => 'image' ) );
echo '
';
}
}
}
endif;
add_action( 'blossom_floral_pro_before_page_entry_content', 'blossom_floral_pro_post_thumbnail' );
add_action( 'blossom_floral_pro_before_post_entry_content', 'blossom_floral_pro_post_thumbnail' );
if( ! function_exists( 'blossom_floral_pro_entry_content' ) ) :
/**
* Entry Content
*/
function blossom_floral_pro_entry_content(){
$ed_excerpt = get_theme_mod( 'ed_excerpt', true );
$home_layout = get_theme_mod( 'home_layout', 'one' );
$archive_layout = get_theme_mod( 'archive_layout', 'one' );
$author_sign = get_theme_mod( 'author_signature', '' );
$ed_toggle_social = get_theme_mod( 'ed_toggle_social', false );
$alignment_signature = get_theme_mod( 'alignment_signature', 'center' );
$array = array( 'six', 'six-left', 'six-center', 'seven', 'seven-left', 'seven-center' );
if( is_home() && in_array( $home_layout, $array ) ) return;
if( ( is_archive() || is_search() ) && in_array( $archive_layout, $array ) ) return; ?>
'
' . esc_html__( 'Pages:', 'blossom-floral-pro' ),
'after' => '
',
) );
}else{
the_excerpt();
}
if( is_singular( 'post' ) && $author_sign ) {
echo '
';
echo '
 . ')
';
if( $ed_toggle_social ) blossom_floral_pro_social_links();
echo '
';
}
?>