etcskel-32m/footer.php

52 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2022-11-29 22:05:57 +00:00
<?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; ?>
2022-12-06 17:33:37 +00:00
<p id="copyright-footer">
2022-11-29 22:05:57 +00:00
&copy; <?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>