$sections){ $bingle_get_section_item_count = bingle_get_section_item_count($sections); if($bingle_get_section_item_count>0){ $secid = str_replace('-','_',strtolower($sec)); $sec_wrapper = $sec.'-'.get_theme_mod('bingle_footer_style_'.$secid,'bingle-wrapper').' '.$sec.'-elem-wrap footer-elements-wrap'; $secclass = $sec." bingle-footer-container"; echo '
'; echo '
'; foreach($sections as $area){ if(isset($area['enable'])){ $enable_area = $area['enable']; if($enable_area!=0 && isset($area['section'])){ get_template_part('assets/components/footer/'.$area['section']); } } } echo '
'; echo '
'; } } } ?>