-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
56 lines (54 loc) · 1.41 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
<?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 Cleora
*/
?>
<!-- #footer -->
<footer class="relative">
<div class="max-w-7xl mx-auto px-4 sm:px-6">
<div class="flex justify-center items-center border-t-2 border-gray-100 py-3 md:space-x-10">
<?php
if (has_nav_menu('footer')) {
wp_nav_menu( array(
'theme_location' => 'footer',
'depth' => 1,
'container' => false,
'menu_class' => 'footer-menu',
));
}
?>
</div>
</div>
<div class="copyright">
<p class="text-center text-gray-700 my-1">
<small>
<?php
printf(
/* translators: %s: WordPress. */
esc_html__( 'Copyright © %s. All Rights Reserved.', 'cleora' ),
'<a href="' . esc_url( home_url( '/' ) ) . '"rel="home">'.get_bloginfo( 'name' ).'</a>'
);
?>
</small>
</p>
<p class="text-center text-gray-500 text-sm">
<?php
printf(
/* translators: %s: WordPress. */
esc_html__( 'Made with ❤️ by developer of %s.', 'cleora' ),
'<a href="' . esc_url( __( 'https://www.fancytextpro.com/', 'cleora' ) ) . '">Fancy Text Pro</a>'
);
?>
</p>
</div>
</footer>
<!-- #footer -->
<?php wp_footer(); ?>
</body>
</html>