-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfooter.php
More file actions
37 lines (30 loc) · 871 Bytes
/
footer.php
File metadata and controls
37 lines (30 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php if ( !defined('ABSPATH') ) die();
/**
* The template for displaying the footer.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage From_Scratch
* @since 1.0
* @version 1.0
*/
$footer_white = get_theme_mod('footer_white_text');
?>
</main> <?php // END content ?>
<?php if ( ! is_page_template( 'pagecustom-maintenance.php' ) ) { ?>
<footer role="contentinfo" id="site_foot"<?php if ( $footer_white ) { echo ' class="white-text"'; } ?>>
<div class="row inner">
<?php
get_template_part( 'template-parts/footer', 'content' );
?>
</div>
</footer>
<?php if(get_theme_mod('back2top') == true) {
get_template_part( 'template-parts/footer', 'back2top' );
} ?>
<?php } ?>
</div> <?php // END wrapper ?>
<?php wp_footer(); ?>
</body>
</html>