mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-23 02:51:06 +01:00
20 lines
994 B
PHP
20 lines
994 B
PHP
<?php
|
|
|
|
if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) ) {?>
|
|
<div id="footer-widget" class="row m-0 <?php if(!is_theme_preset_active()){ echo 'bg-light'; } ?>">
|
|
<div class="container">
|
|
<div class="row">
|
|
<?php if ( is_active_sidebar( 'footer-1' )) : ?>
|
|
<div class="col-12 col-md-4"><?php dynamic_sidebar( 'footer-1' ); ?></div>
|
|
<?php endif; ?>
|
|
<?php if ( is_active_sidebar( 'footer-2' )) : ?>
|
|
<div class="col-12 col-md-4"><?php dynamic_sidebar( 'footer-2' ); ?></div>
|
|
<?php endif; ?>
|
|
<?php if ( is_active_sidebar( 'footer-3' )) : ?>
|
|
<div class="col-12 col-md-4"><?php dynamic_sidebar( 'footer-3' ); ?></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php }
|