'post',
'post_status' => 'publish',
'posts_per_page' => $posts_per_page_count,
'cat' => $highlight_posts_id,
'offset' => 0,
'ignore_sticky_posts' => 1
)));
$posts_array = get_posts( $query );
$show_highlight_posts = count( $posts_array ) > 0 && is_home();
if( !get_theme_mod( 'disable_highlight_posts_section', false ) && $show_highlight_posts ){
?>
'post',
'post_status' => 'publish',
'posts_per_page' => $posts_per_page_count,
'cat' => $feature_posts_id,
'offset' => 0,
'ignore_sticky_posts' => 1
)));
$posts_array = get_posts( $query );
$show_feature_posts = count( $posts_array ) > 0 && is_home();
if( $show_feature_posts && !get_theme_mod( 'disable_feature_posts_section', false ) ){
?>
have_posts() ) : $query->the_post();
$image = get_the_post_thumbnail_url( get_the_ID(), 'bosa-420-380' );
$columns_class = '';
if( get_theme_mod( 'highlight_posts_columns', 'three_columns' ) == 'one_column' ){
$columns_class = 'col-md-12';
}elseif( get_theme_mod( 'highlight_posts_columns', 'three_columns' ) == 'two_columns' ){
$columns_class = 'col-md-6';
}elseif( get_theme_mod( 'highlight_posts_columns', 'three_columns' ) == 'three_columns' ){
$columns_class = 'col-md-4';
}elseif( get_theme_mod( 'highlight_posts_columns', 'three_columns' ) == 'four_columns' ){
$columns_class = 'col-md-3';
}
?>