'; foreach( $twp_ecommerce_prime_home_sections as $ecommerce_prime_home_section ){ $home_section_type = isset( $ecommerce_prime_home_section->home_section_type ) ? $ecommerce_prime_home_section->home_section_type : '' ; switch( $home_section_type ){ case 'latest-post': $ed_latest_post = isset( $ecommerce_prime_home_section->section_ed ) ? $ecommerce_prime_home_section->section_ed : '' ; if( $ed_latest_post != 'no' ){ $default = ecommerce_prime_get_default_theme_options(); ?>