Footer
-
Hi,
My footer is not appearing on my pages. I accidently removed some code from my Footer.php.
How can I get it back?
This is the current code of my footer.php. ( I cant code) (total beginner)
-
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Flash
*/?>
</div><!– .tg-container –>
<?php
/**
* flash_after_main hook
*/
do_action( ‘flash_after_main’ ); ?><?php
/**
* flash_before_footer hook
*/
do_action( ‘flash_before_footer’ ); ?><footer id=”colophon” class=”footer-layout site-footer” role=”contentinfo”>
<?php get_sidebar( ‘footer’ ); ?><div id=”bottom-footer”>
<div class=”tg-container”><?php do_action( ‘flash_copyright_area’ ); ?>
<?php wp_nav_menu( array( ‘theme_location’ => ‘footer’, ‘menu_class’ => ‘footer-menu’, ‘fallback_cb’ => false, ) ); ?>
</div>
</div>
<!– #colophon –><?php
/**
* flash_after_footer hook
*/
do_action( ‘flash_after_footer’ ); ?><?php if ( get_theme_mod( ‘flash_disable_back_to_top’, ” ) != 1 ) : ?>
<i class=”fa fa-chevron-up”></i>
<?php endif; ?><?php
/**
* flash_after hook
*/
do_action( ‘flash_after’ ); ?><?php wp_footer(); ?>
</body>
</html>
- The topic ‘Footer’ is closed to new replies.