Footer error
-
Ian getting an error message for the footer: its at the end of the footer code. I believe something was removed the message is and unexpected end of file syntax error message:
here is the full footer file:
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package The Box
* @since The Box 1.0
*/
?></div><!-- #main .site-main -->
<footer id="colophon" class="site-footer clearfix" role="contentinfo">
<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
<div id="tertiary" class="clearfix">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div></div>
<div class="col-6">
<?php
if ( has_nav_menu( 'secondary' ) ) { ?>
<nav id="footer-navigation" class="footer-navigation">
<?php wp_nav_menu( array( 'theme_location' => 'secondary', 'menu_id' => 'secondary-menu', 'container_class' => 'menu-container', 'depth' => 1 ) ); ?>
</nav>
<?php } ?>
</div>
</div>
</footer><!-- #colophon .site-footer --></div><!-- #page -->
<?php wp_footer(); ?>
</body></html>
- The topic ‘Footer error’ is closed to new replies.