This repository has been archived on 2022-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
divi/sidebar-footer.php

19 lines
377 B
PHP
Raw Normal View History

2021-12-07 11:08:05 +00:00
<?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>