$bosa_restaurant_inn_blog_chef_one, ); } } if( !empty( $bosa_restaurant_inn_blog_chef_two_ID ) ){ $bosa_restaurant_inn_blog_chef_two = wp_get_attachment_image_src( $bosa_restaurant_inn_blog_chef_two_ID,'bosa-restaurant-inn-420-300'); if ( is_array( $bosa_restaurant_inn_blog_chef_two ) ){ $bosa_restaurant_inn_has_chef = true; $bosa_restaurant_inn_blog_chef_two = $bosa_restaurant_inn_blog_chef_two[0]; $bosa_restaurant_inn_chef_array['image_two'] = array( 'ID' => $bosa_restaurant_inn_blog_chef_two, ); } } if( !empty( $bosa_restaurant_inn_blog_chef_three_ID ) ){ $bosa_restaurant_inn_blog_chef_three = wp_get_attachment_image_src( $bosa_restaurant_inn_blog_chef_three_ID,'bosa-restaurant-inn-420-300'); if ( is_array( $bosa_restaurant_inn_blog_chef_three ) ){ $bosa_restaurant_inn_has_chef = true; $bosa_restaurant_inn_blog_chef_three = $bosa_restaurant_inn_blog_chef_three[0]; $bosa_restaurant_inn_chef_array['image_three'] = array( 'ID' => $bosa_restaurant_inn_blog_chef_three, ); } } if( !empty( $bosa_restaurant_inn_blog_chef_four_ID ) ){ $bosa_restaurant_inn_blog_chef_four = wp_get_attachment_image_src( $bosa_restaurant_inn_blog_chef_four_ID,'bosa-restaurant-inn-420-300'); if ( is_array( $bosa_restaurant_inn_blog_chef_four ) ){ $bosa_restaurant_inn_has_chef = true; $bosa_restaurant_inn_blog_chef_four = $bosa_restaurant_inn_blog_chef_four[0]; $bosa_restaurant_inn_chef_array['image_four'] = array( 'ID' => $bosa_restaurant_inn_blog_chef_four, ); } } if( !empty( $bosa_restaurant_inn_blog_chef_five_ID ) ){ $bosa_restaurant_inn_blog_chef_five = wp_get_attachment_image_src( $bosa_restaurant_inn_blog_chef_five_ID,'bosa-restaurant-inn-420-300'); if ( is_array( $bosa_restaurant_inn_blog_chef_five ) ){ $bosa_restaurant_inn_has_chef = true; $bosa_restaurant_inn_blog_chef_five = $bosa_restaurant_inn_blog_chef_five[0]; $bosa_restaurant_inn_chef_array['image_five'] = array( 'ID' => $bosa_restaurant_inn_blog_chef_five, ); } } if( !empty( $bosa_restaurant_inn_blog_chef_six_ID ) ){ $bosa_restaurant_inn_blog_chef_six = wp_get_attachment_image_src( $bosa_restaurant_inn_blog_chef_six_ID,'bosa-restaurant-inn-420-300'); if ( is_array( $bosa_restaurant_inn_blog_chef_six ) ){ $bosa_restaurant_inn_has_chef = true; $bosa_restaurant_inn_blog_chef_six = $bosa_restaurant_inn_blog_chef_six[0]; $bosa_restaurant_inn_chef_array['image_six'] = array( 'ID' => $bosa_restaurant_inn_blog_chef_six, ); } } if( !get_theme_mod( 'bosa_restaurant_inn_disable_chefs_section', true ) && $bosa_restaurant_inn_has_chef ) { ?>