19 lines
377 B
PHP
19 lines
377 B
PHP
<?php
|
|
$et_active_sidebars = et_divi_footer_active_sidebars();
|
|
if ( $et_active_sidebars === false ) {
|
|
return;
|
|
}
|
|
?>
|
|
|
|
<div class="container">
|
|
<div id="footer-widgets" class="clearfix">
|
|
<?php
|
|
foreach ( $et_active_sidebars as $footer_sidebar ) :
|
|
echo '<div class="footer-widget">';
|
|
dynamic_sidebar( $footer_sidebar );
|
|
echo '</div>';
|
|
endforeach;
|
|
?>
|
|
</div>
|
|
</div>
|