-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
134 lines (126 loc) · 4.55 KB
/
footer.php
File metadata and controls
134 lines (126 loc) · 4.55 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?php
/**
* Template for displaying the footer
*
* Description for template.
*
* @Author: Roni Laukkarinen
* @Date: 2020-05-11 13:33:49
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2022-09-07 11:57:45
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
* @package facyl
*/
namespace Air_Light;
$menu_footer_args = array(
'theme_location' => 'footer',
'menu_class' => '',
'menu_id' => '',
'container' => 'div',
'container_class' => 'tree-site',
);
$menu_confidentiality_args = array(
'theme_location' => 'confidentiality',
'menu_class' => '',
'menu_id' => '',
'container' => 'div',
'container_class' => 'legal-info',
);
?>
</main><!-- #content -->
<footer id="colophon" class="site-footer">
<div role="presentation" aria-hidden="true" class="wave wave__footer">
<?php get_template_part( 'template-parts/header/modal' ); ?>
</div>
<div class="site-info">
<div class="company">
<?php the_custom_logo(); ?>
<p><?php echo( get_theme_mod( 'show_address' ) ); ?></p>
<p><?php echo( get_theme_mod( 'show_tel' ) ); ?> - <?php echo( get_theme_mod( 'show_mail' ) ); ?></p>
</div>
<div class="social-media">
<?php
$linkedin = get_theme_mod( 'show_linkedin' );
if ( $linkedin ) {
?>
<a href="<?php echo( get_theme_mod( 'show_linkedin' ) ); ?>" title="Visiter la page Linkedin - nouvelle fenêtre" class="no-external-link-indicator" target="_blank">
<?php include get_theme_file_path( THEME_SETTINGS['logo_linkedin'] ); ?>
</a>
<?php
}
?>
<?php
$instagram = get_theme_mod( 'show_instagram' );
if ( $instagram ) {
?>
<a href="<?php echo( get_theme_mod( 'show_instagram' ) ); ?>" title="Visiter la page Instagram - nouvelle fenêtre" class="no-external-link-indicator" target="_blank">
<?php include get_theme_file_path( THEME_SETTINGS['logo_insta'] ); ?>
</a>
<?php
}
?>
<?php
$facebook = get_theme_mod( 'show_facebook' );
if ( $facebook ) {
?>
<a href="<?php echo( get_theme_mod( 'show_facebook' ) ); ?>" title="Visiter la page Facebook - nouvelle fenêtre" class="no-external-link-indicator" target="_blank">
<?php include get_theme_file_path( THEME_SETTINGS['logo_facebook'] ); ?>
</a>
<?php
}
?>
<?php
$youtube = get_theme_mod( 'show_youtube' );
if ( $youtube ) {
?>
<a href="<?php echo( get_theme_mod( 'show_youtube' ) ); ?>" title="Visiter la page Youtube - nouvelle fenêtre" class="no-external-link-indicator" target="_blank">
<?php include get_theme_file_path( THEME_SETTINGS['logo_youtube'] ); ?>
</a>
<?php
}
?>
<?php
$twitter = get_theme_mod( 'show_twitter' );
if ( $twitter ) {
?>
<a href="<?php echo( get_theme_mod( 'show_twitter' ) ); ?>" title="Visiter la page Twitter - nouvelle fenêtre" class="no-external-link-indicator" target="_blank">
<?php include get_theme_file_path( THEME_SETTINGS['logo_twitter'] ); ?>
</a>
<?php
}
?>
<?php
$tiktok = get_theme_mod( 'show_tiktok' );
if ( $tiktok ) {
?>
<a href="<?php echo( get_theme_mod( 'show_tiktok' ) ); ?>" title="Visiter la page Twitter - nouvelle fenêtre" class="no-external-link-indicator" target="_blank">
<?php include get_theme_file_path( THEME_SETTINGS['logo_tiktok'] ); ?>
</a>
<?php
}
?>
</div>
<?php wp_nav_menu( $menu_footer_args ) ?>
<?php wp_nav_menu( $menu_confidentiality_args ) ?>
<a href="/contact" class="contact-link">
<div class="contact">Nous contacter <?php include get_theme_file_path( THEME_SETTINGS['chevron_right'] ); ?></div>
</a>
</div>
<a href="#page" id="top" class="top no-external-link-indicator" data-version="<?php echo esc_attr( AIR_LIGHT_VERSION ); ?>">
<span class="screen-reader-text"><?php echo esc_html( get_default_localization( 'Retour au début' ) ); ?></span>
<span aria-hidden="true"><?php include get_theme_file_path( THEME_SETTINGS['chevron_up'] ); ?></span>
</a>
<div class="theme-info">
<span class="copyright">
<?php printf( esc_html__( date( 'Y' ) . ' - ', 'facyl' ) ); ?>
</span>
<span class="name">
<?php printf( esc_html__( 'Thème Facyl de L\'Orange Carré.', 'facyl' ) ); ?>
</span>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>