Created
July 17, 2017 05:00
-
-
Save ibndawood/4488d21270b0f44162a1dc4fb9c5fc15 to your computer and use it in GitHub Desktop.
Electro - Footer Bottom Widgets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function electro_footer_bottom_widgets() { | |
$show_footer_bottom_widgets = apply_filters( 'electro_show_footer_bottom_widgets', true ); | |
$show_footer_contact_block = apply_filters( 'electro_enable_footer_contact_block', true ); | |
if ( $show_footer_bottom_widgets || $show_footer_contact_block ) : ?> | |
<div class="footer-bottom-widgets"> | |
<div class="container"> | |
<?php if ( $show_footer_contact_block ) : ?> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-12 col-md-7 col-md-push-5"> | |
<?php electro_display_footer_bottom_widgets(); ?> | |
</div> | |
<div class="footer-contact col-xs-12 col-sm-12 col-md-5 col-md-pull-7"> | |
<?php electro_footer_contact(); ?> | |
</div> | |
</div> | |
<?php else : ?> | |
<?php electro_display_footer_bottom_widgets(); ?> | |
<?php endif; ?> | |
</div> | |
</div><?php | |
endif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment