-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
33 lines (28 loc) · 877 Bytes
/
footer.php
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
<?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 The_Standards
*/
?>
<?php if( is_front_page() ) {
// nothing
} else { ?>
</main>
<?php } ?>
<?php if( get_theme_mod( 'the_standards_footer_layout_select' ) == 'slim' ) {
get_template_part( 'inc/components/footers/footer', 'slim' );
} elseif( get_theme_mod( 'the_standards_footer_layout_select' ) == 'medium' ) {
get_template_part( 'inc/components/footers/footer', 'medium' );
} elseif( get_theme_mod( 'the_standards_footer_layout_select' ) == 'big' ) {
get_template_part( 'inc/components/footers/footer', 'big' );
} else {
get_template_part( 'inc/components/footers/footer', 'medium' );
}
wp_footer(); ?>
</body>
</html>