-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
146 lines (133 loc) · 5.55 KB
/
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
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
135
136
137
138
139
140
141
142
143
144
145
146
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package portafolio-theme
*
* @version 0.9.0
* @since 0.9.0
* @author Gerardo Gonzalez
*
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$container = get_option( '_container' );
$phone = get_option( '_phone_number' );
$mail = get_option( '_mail', 'contact@gerardo-gonzalez.dev');
$messenger = get_option( '_messenger', 'https://m.me/GerardoGonzalezDev' )
?>
<footer class="wrapper" id="wrapper-footer">
<div
class="<?php echo esc_attr( $container ); ?> bg-primary py-32 d-flex flex-wrap justify-content-center align-items-center">
<div class="row mw-1200 w-100 text-white p-16 justify-content-center">
<div class="col-md-4 col-sm-6 order-md-1 order-2 mt-md-0 mt-16 text-center">
<p>
<span class="rounded-circle border border-3 border-light p-8 m-8">
<i class="fa-solid fa-phone fs-20 text-white"></i>
</span>
</p>
<p>
<span class="text-white fs-20">
< </span>
<a href="tel:+52<?php _e($phone, 'understrap'); ?>"
class="text-white fs-20 text-decoration-none">
<?php _e($phone, 'understrap'); ?>
</a>
<span class="text-white fs-20"> /> </span>
</p>
</div>
<div class="col-md-4 col-sm-12 order-md-2 order-1 mt-md-0 mt-16 text-center">
<p>
<span class="rounded-circle border border-3 border-light p-8">
<i class="fa-solid fa-envelope fs-20 text-white"></i>
</span>
</p>
<p>
<span class="text-white fs-20">
< </span>
<a href="mailto:<?php _e($mail, 'understrap'); ?>"
class="text-white fs-20 text-decoration-none">
<?php _e($mail, 'understrap'); ?>
</a>
<span class="text-white fs-20"> /> </span>
</p>
</div>
<div class="col-md-4 col-sm-6 order-3 mt-md-0 mt-16 text-center">
<p>
<span class="rounded-circle border border-3 border-light p-8">
<i class="fa-brands fa-facebook-messenger fs-20 text-white"></i>
</span>
</p>
<p>
<span class="text-white fs-20">
< </span>
<a href="<?php _e($messenger, 'understrap'); ?>"
class="text-white fs-20 text-decoration-none">
<?php _e(str_replace('https://m.me/','@',$messenger), 'understrap'); ?>
</a>
<span class="text-white fs-20"> /> </span>
</p>
</div>
</div>
<div class="row mw-1200 w-100">
<hr class="border boder-light opacity-100">
</div>
<div class="row text-white mw-1200 w-100">
<div class="col-md-4 col-sm-6">
<h3 class="fs-34">
<span class="text-white">.</span> <span
class="text-white text-lowercase">About</span>
</h3>
<?php
wp_nav_menu(
array(
'theme_location' => 'about',
'container_class' => '',
'container_id' => '',
'menu_class' => 'list-group list-group-flush',
'fallback_cb' => '',
'menu_id' => 'about-menu',
'depth' => 1,
'walker' => new Understrap_WP_Bootstrap_Navwalker(),
)
);
?>
</div>
<div class="col-md-4 col-sm-6">
<h3 class="fs-34">
<span class="text-white">.</span> <span
class="text-white text-lowercase">Resources</span>
</h3>
<?php
wp_nav_menu(
array(
'theme_location' => 'resources',
'container_class' => '',
'container_id' => '',
'menu_class' => 'list-group list-group-flush',
'fallback_cb' => '',
'menu_id' => 'resources-menu',
'depth' => 1,
'walker' => new Understrap_WP_Bootstrap_Navwalker(),
)
);
?>
</div>
<div class="col-md-4 col-sm-6">
<?php if ( is_active_sidebar( 'footerfull' ) ) : ?>
<?php dynamic_sidebar( 'footerfull' ); ?>
<?php endif; ?>
</div>
</div>
<div class="row text-white mw-1200 w-100 justify-content-center py-31 my-64">
<?php get_social_icons(); ?>
</div>
</div>
</div><!-- container end -->
</footer><!-- wrapper end -->
</div><!-- #page we need this extra closing tag here -->
<?php wp_footer(); ?>
</body>
</html>