Created
May 26, 2020 09:57
-
-
Save ibndawood/aa02135dc8a2ccc38e94e0dc93867f60 to your computer and use it in GitHub Desktop.
Footer Default v1 - Add social menu below footer
This file contains hidden or 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
<?php | |
/** | |
* Template for default v1 | |
* @since 1.0.0 | |
*/ | |
?> | |
<footer class="site-footer site-footer__default style-v1"> | |
<div class="footer-widgets border-bottom"> | |
<?php if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) || is_active_sidebar( 'footer-4' ) ) : ?> | |
<div class="container space-2"> | |
<div class="row justify-content-md-between"> | |
<?php if ( is_active_sidebar( 'footer-1' ) ) : ?> | |
<div class="col-sm-4 col-lg-2 mb-lg-0"> | |
<?php dynamic_sidebar( 'footer-1' ); ?> | |
</div> | |
<?php endif; ?> | |
<?php if ( is_active_sidebar( 'footer-2' ) ) : ?> | |
<div class="col-sm-4 col-lg-2 mb-lg-0"> | |
<?php dynamic_sidebar( 'footer-2' ); ?> | |
</div> | |
<?php endif; ?> | |
<?php if ( is_active_sidebar( 'footer-3' ) ) : ?> | |
<div class="col-sm-4 col-lg-2 mb-lg-0"> | |
<?php dynamic_sidebar( 'footer-3' ); ?> | |
</div> | |
<?php endif; ?> | |
<?php if ( is_active_sidebar( 'footer-4' ) ) : ?> | |
<div class="col-md-6 col-lg-4"> | |
<?php dynamic_sidebar( 'footer-4' ); ?> | |
</div> | |
<?php endif; ?> | |
</div> | |
</div> | |
<?php endif; ?> | |
</div> | |
<div class="container text-center space-1"> | |
<?php front_footer_logo(); ?> | |
<?php front_footer_social_menu(); ?> | |
<p class="small text-muted mt-3"><?php front_copyright_text(); ?></p> | |
</div> | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment