-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
105 lines (71 loc) · 2.67 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package pandublog
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$container = get_theme_mod( 'pandublog_container_type' );
?>
<?php get_template_part( 'sidebar-templates/sidebar', 'footerfull' ); ?>
<footer class="wrapper bg-primary" id="wrapper-footer">
<div class="container site-footer">
<div class="row logo-menu">
<div class="site-logo">
<?php if ( ! has_custom_logo() ) { ?>
<?php if ( is_front_page() && is_home() ) : ?>
<h1 class="navbar-brand mb-0"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<a class="navbar-brand" rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a>
<?php endif; ?>
<?php } else {
the_custom_logo();
} ?><!-- end custom logo -->
</div><!-- .site-info -->
<?php
wp_nav_menu( array(
'theme_location' => 'footer',
'container_class' => 'site-nav nav-footer'
) );
?>
</div><!-- row end -->
<div class="row copy-sm">
<div class="copy">
<p class="copyright"><?php echo get_theme_mod( 'footer_text', '©2019, Pandublog Theme With Wordpress' ); ?></p>
</div>
<div class="sm">
<span class="title">Follow me around the web</span>
<ul class="menu-social-media">
<li class="menu-item social-facebook">
<a href="<?php echo get_theme_mod( 'footer_facebook', 'https://www.facebook.com/' ); ?>" target="_blank">
<i class="fa fa-facebook-square"></i>
</a>
</li>
<li class="menu-item social-twitter">
<a href="<?php echo get_theme_mod( 'footer_twitter', 'https://www.twitter.com/' ); ?>" target="_blank">
<i class="fa fa-twitter-square"></i>
</a>
</li>
<li class="menu-item social-youtube">
<a href="<?php echo get_theme_mod( 'footer_youtube', 'https://www.youtube.com/' ); ?>" target="_blank">
<i class="fa fa-youtube-square"></i>
</a>
</li>
<li class="menu-item social-instagram">
<a href="<?php echo get_theme_mod( 'footer_instagram', 'https://www.instagram.com/' ); ?>" target="_blank">
<i class="fa fa-instagram"></i>
</a>
</li>
</ul>
</div>
</div>
</div><!-- container end -->
</footer><!-- wrapper end -->
</div><!-- #page we need this extra closing tag here -->
<?php wp_footer(); ?>
</body>
</html>