Initial commit
This commit is contained in:
71
footer.php
Normal file
71
footer.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
/**
|
||||
* O rodapé do tema
|
||||
*
|
||||
* Contém o fechamento do elemento #page e todo o conteúdo após isso.
|
||||
*
|
||||
* @package NewSTC
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<footer id="colophon" class="site-footer">
|
||||
<div class="footer-widgets">
|
||||
<div class="container">
|
||||
<div class="footer-widget-area">
|
||||
<?php if ( is_active_sidebar( 'footer-1' ) ) : ?>
|
||||
<div class="footer-widget footer-widget-1">
|
||||
<?php dynamic_sidebar( 'footer-1' ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'footer-2' ) ) : ?>
|
||||
<div class="footer-widget footer-widget-2">
|
||||
<?php dynamic_sidebar( 'footer-2' ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( is_active_sidebar( 'footer-3' ) ) : ?>
|
||||
<div class="footer-widget footer-widget-3">
|
||||
<?php dynamic_sidebar( 'footer-3' ); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="site-info">
|
||||
<div class="container">
|
||||
<div class="copyright">
|
||||
© <?php echo date('Y'); ?> <?php bloginfo('name'); ?>. <?php esc_html_e('Todos os direitos reservados.', 'newstc'); ?>
|
||||
</div>
|
||||
|
||||
<div class="footer-menu">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'footer',
|
||||
'menu_id' => 'footer-menu',
|
||||
'depth' => 1,
|
||||
'container' => false,
|
||||
'fallback_cb' => false,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="footer-social">
|
||||
<a href="#" class="social-icon"><i class="fab fa-facebook-f"></i></a>
|
||||
<a href="#" class="social-icon"><i class="fab fa-twitter"></i></a>
|
||||
<a href="#" class="social-icon"><i class="fab fa-instagram"></i></a>
|
||||
<a href="#" class="social-icon"><i class="fab fa-linkedin-in"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user