-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathfooter.php
More file actions
61 lines (60 loc) · 1.87 KB
/
footer.php
File metadata and controls
61 lines (60 loc) · 1.87 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @package Fold
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*/
?>
</main>
</div>
<footer id="page-footer" class="bg-primary">
<div id="footer-cover">
<div class="container">
<?php get_template_part( 'template-parts/sidebars/footer-top' ); ?>
<div class="row justify-content-center">
<?php
get_template_part( 'template-parts/sidebars/footer-column-1' );
get_template_part( 'template-parts/sidebars/footer-column-2' );
get_template_part( 'template-parts/sidebars/footer-column-3' );
get_template_part( 'template-parts/sidebars/footer-column-4' );
?>
</div>
<?php
get_template_part( 'template-parts/sidebars/footer-bottom' );
get_template_part( 'template-parts/part/nav-bottom' );
?>
<div id="footer-bottom" class="row">
<div id="created-by" class="col-12 col-sm-6">
<a href="<?php echo esc_url( esc_attr__( 'https://dedidata.com', 'fold' ) ); ?>" title="<?php esc_attr_e( 'Free Theme by DediData', 'fold' ); ?>" target="_blank">
<?php esc_attr_e( 'Theme Design by DediData', 'fold' ); ?>
</a>
</div>
<div id="copyright" class="col-12 col-sm-6">
<?php
// Translators: %1$s is current year and %2$s is site name
$format_string = esc_html__( 'Copyright © %1$s %2$s. All rights reserved.', 'fold' );
printf(
esc_html( $format_string ),
esc_html( gmdate( 'Y' ) ),
esc_html( get_bloginfo( 'name' ) )
);
?>
</div>
</div>
</div>
</div>
</footer>
<?php
$mod_bs_theme = get_theme_mod( 'bootstrap_theme', 'light' );
if ( 'light' === $mod_bs_theme || 'dark' === $mod_bs_theme ) {
?>
<button id="theme-toggle" class="theme-toggle">🌙</button>
<?php
}
wp_footer();
?>
</body>
</html>