';
( is_active_sidebar( 'right-sidebar' ) ) ? the_post_thumbnail( 'book-landing-page-with-sidebar' ) : the_post_thumbnail( 'book-landing-page-without-sidebar' ) ;
echo ( !is_single() ) ? '' : '
' ;
}
}
endif;
if( ! function_exists( 'book_landing_page_post_entry_header' ) ) :
/**
* Post Entry Header
*
* @since 1.0.1
*/
function book_landing_page_post_entry_header(){
?>
'; printf( esc_html__( 'Search Results for %s', 'book-landing-page' ), '' . get_search_query() . '' ); echo '
'; single_post_title(); echo '
', '
' ); echo '', '
' ); echo '';
if( !is_404() ){
echo '
';// .row /#content /.container
}
}
endif;
if( ! function_exists( 'book_landing_page_footer_start' ) ) :
/**
* Footer Start
*
* @since 1.0.1
*/
function book_landing_page_footer_start(){
echo ''; // #colophon
}
endif;
if( ! function_exists( 'book_landing_page_page_end' ) ) :
/**
* Page End
*
* @since 1.0.1
*/
function book_landing_page_page_end(){
?>
';
}
}
}
endif;
if( ! function_exists( 'book_landing_page_page_content_image' ) ) :
/**
* Page Featured Image
*
* @since 1.0.1
*/
function book_landing_page_page_content_image(){
$sidebar_layout = book_landing_page_sidebar_layout();
if( has_post_thumbnail() )
( is_active_sidebar( 'right-sidebar' ) && ( $sidebar_layout == 'right-sidebar' ) ) ? the_post_thumbnail( 'book-landing-page-with-sidebar' ) : the_post_thumbnail( 'book-landing-page-without-sidebar' );
}
endif;
if( ! function_exists( 'book_landing_page_post_content_image' ) ) :
/**
* Post Featured Image
*
* @since 1.0.1
*/
function book_landing_page_post_content_image(){
if( has_post_thumbnail() ){
echo ( !is_single() ) ? '' : '
', '' );
} else {
the_title( '
';
if( !is_404() ){
echo '
';
}
echo '