-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
90 lines (63 loc) · 2.12 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
<?php
/**
* The footer for our theme.
* This template is used to generate the footer for the theme.
*
* @package Profile Lite
* @since Profile Lite 1.0
*/
?>
<!-- END .container -->
</main>
<!-- BEGIN .footer -->
<footer class="footer" role="contentinfo">
<?php if ( is_active_sidebar( 'footer-widgets' ) && ( class_exists( 'Organic_Widgets_Pro' ) || class_exists( 'Organic_Widgets' ) ) ) { ?>
<!-- BEGIN .row -->
<div class="row">
<section class="organic-ocw-container">
<?php dynamic_sidebar( 'footer-widgets' ); ?>
</section>
<!-- END .row -->
</div>
<?php } ?>
<!-- BEGIN .row -->
<div class="row">
<!-- BEGIN .content -->
<div class="content">
<!-- BEGIN .footer-information -->
<div class="footer-information">
<div <?php if ( ! is_page_template( 'template-home.php' ) ) { ?>
class="align-left"
<?php } else { ?>
class="text-center"<?php } ?>>
<p><?php esc_html_e( 'Copyright', 'profile-lite' ); ?> © <?php echo esc_html( date( 'Y' ) ); ?> · <?php esc_html_e( 'All Rights Reserved', 'profile-lite' ); ?> · <?php esc_html( bloginfo( 'name' ) ); ?></p>
<p><?php /* translators: 1: Theme name. 2: Theme link. */ printf( esc_html__( 'Theme: %1$s by %2$s', 'profile-lite' ), 'Profile Lite', '<a href="http://organicthemes.com/">Organic Themes</a>' ); ?></p>
</div>
<?php if ( has_nav_menu( 'social-menu' ) && ! is_page_template( 'template-home.php' ) ) { ?>
<nav class="align-right" role="navigation" aria-label="<?php esc_attr_e( 'Social Navigation', 'profile-lite' ); ?>">
<?php
wp_nav_menu( array(
'theme_location' => 'social-menu',
'title_li' => '',
'depth' => 1,
'container_class' => 'social-menu',
'menu_class' => 'social-icons',
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
) );
?>
</nav>
<?php } ?>
<!-- END .footer-information -->
</div>
<!-- END .content -->
</div>
<!-- END .row -->
</div>
<!-- END .footer -->
</footer>
<!-- END #wrapper -->
</div>
<?php wp_footer(); ?>
</body>
</html>