Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Created July 17, 2017 05:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibndawood/4488d21270b0f44162a1dc4fb9c5fc15 to your computer and use it in GitHub Desktop.
Save ibndawood/4488d21270b0f44162a1dc4fb9c5fc15 to your computer and use it in GitHub Desktop.
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