Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Electro - Footer Bottom Widgets
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