';
if ( is_home() || is_front_page()) {
if (
is_singular() && current_theme_supports( 'post-thumbnails' ) &&
has_post_thumbnail( $post->ID ) &&
(
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'post-thumbnail' ) ) &&
$image[1] >= $header_image_width
) :
echo get_the_post_thumbnail( $post->ID );
elseif ( get_header_image() ) :
echo '
';
break;
case 'no':
echo '" width="';
echo esc_attr( $header_image_width );
echo '" height="';
echo esc_attr( $header_image_height );
echo '" alt="" style="padding: 0 18px;"/>';
break;
default:
echo '" width="';
echo esc_attr( $header_image_width );
echo '" height="';
echo esc_attr( $header_image_height );
echo '" alt="" style="padding: 0 18px;"/>';
break;
}
endif;
}
if (have_posts()) {
while (have_posts()) {
the_post();
echo '
';
the_title();
echo '
';
echo '
';
the_content(__('(more...)', 'arebee'));
echo '
';
}
}
echo '
';
//Sidebar
if ( $fullpgsidebar == 'yes' ) {
get_sidebar();
}
echo '';
//Footer
get_footer();
?>