-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
72 lines (59 loc) · 2.23 KB
/
footer.php
File metadata and controls
72 lines (59 loc) · 2.23 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
62
63
64
65
66
67
68
69
70
71
72
<?php
/**
* The template for displaying the footer
*/
?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- #content -->
<?php get_template_part('template-parts/footer/footer-widgets'); ?>
<footer id="colophon" class="site-footer">
<?php if (is_active_sidebar('sidebar-footer-about')) : ?>
<?php dynamic_sidebar('sidebar-footer-about'); ?>
<?php endif; ?>
<div class="follow-me">
<p class="follow-me-title"><?php echo __('Keep in touch', 'soyes'); ?></p><!-- .follow-me-title -->
<ul class="follow-me-list">
<?php
wp_nav_menu(
array(
'walker' => new SoYes_Walker_Nav_Menu_Social(),
'theme_location' => 'social',
'items_wrap' => '%3$s',
'container' => false,
'fallback_cb' => false,
'depth' => 1,
)
);
?>
</ul><!-- follow-me-list -->
</div><!-- .follow-me -->
<?php if (has_nav_menu('secondary')) : ?>
<nav aria-label="<?php esc_attr_e('Secondary menu', 'soyes'); ?>" class="footer-navigation">
<ul class="footer-navigation-wrapper">
<?php
wp_nav_menu(
array(
'walker' => new SoYes_Walker_Nav_Menu_JS_Links(),
'theme_location' => 'secondary',
'items_wrap' => '%3$s',
'container' => false,
'depth' => 1,
'link_before' => '<span>',
'link_after' => '</span>',
'fallback_cb' => false,
)
);
?>
</ul><!-- .footer-navigation-wrapper -->
</nav><!-- .footer-navigation -->
<?php endif; ?>
<div class="powered-by">
<?php echo esc_html__("Blog d'un développeur web freelance et digital nomad.", 'soyes'); ?>
</div><!-- .powered-by -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
<script id="form-script-tag-17953057" src="https://learn.alexsoyes.com/public/remote/page/28688715a383a14111beb633759af347cad939c6.js"></script>
</body>
</html>