My brochure (shortcoded through a plugin, Leadership (staff), and map (at the footer) are all missing. Everything is updated and was working fine last week. Any thoughts on cause?
So I edited by footer.php with the following
The template for displaying the footer.
Contains the closing of the #content div and all content after
</div><!-- #content -->
<?php if ( is_active_sidebar( ‘footer-1’ ) ) : ?>
<?php get_sidebar(‘footer’); ?>
<?php endif; ?>
<footer id=“colophon” class=“site-footer” role=“contentinfo”>
<div class=“site-info container”>
<p> Copyright © 2017 HW Lochner. All rights reserved. </p>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
Which looks like this when applied. This is what broke my site. I undid the changes and the site looks normal again. How can I add in these two links to my footer without breaking my homepage?
To avoid layout breaking, you have to ensure that your new HTML code addition is valid. You can check it with this tool.