Update repository
This commit is contained in:
51
footer.php
Normal file
51
footer.php
Normal file
@ -0,0 +1,51 @@
|
||||
<?php if ( ! defined( 'WPINC' ) ) { die('Direct access prohibited!'); }?>
|
||||
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
</div><!-- #content -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<?php if ( is_active_sidebar( 'footer-widgets' ) ) : ?>
|
||||
|
||||
<div class="widget-area" role="complementary">
|
||||
|
||||
<?php dynamic_sidebar( 'footer-widgets' ); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( has_nav_menu( 'footer' ) ) : ?>
|
||||
<nav aria-label="Secondary menu" class="footer-navigation">
|
||||
<ul class="footer-navigation-wrapper">
|
||||
<?php
|
||||
wp_nav_menu(
|
||||
array(
|
||||
'theme_location' => 'footer',
|
||||
'items_wrap' => '%3$s',
|
||||
'container' => false,
|
||||
'depth' => 1,
|
||||
'link_before' => '<span>',
|
||||
'link_after' => '</span>',
|
||||
'fallback_cb' => false,
|
||||
)
|
||||
);
|
||||
?>
|
||||
</ul><!-- .footer-navigation-wrapper -->
|
||||
</nav><!-- .footer-navigation -->
|
||||
<?php endif; ?>
|
||||
|
||||
<p id="copyright-footer">
|
||||
© <?php echo date( 'Y' ) ?> <?php bloginfo('name') ?>.
|
||||
<br>
|
||||
<!-- WP theme by <a href="https://corenominal.com">corenominal</a>. -->
|
||||
</p>
|
||||
|
||||
</footer><!-- #colophon -->
|
||||
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user