-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
90 lines (66 loc) · 2.05 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
/*
* Omnibus Prime footer: footer.php
*
* @package Omnibus Prime
* @since 1.0
* @version 1.0
*/
?>
<footer id="main__footer" aria-label="<?php __( 'Main footer', 'omnibus-prime' ); ?>" role="contentinfo">
<?php if ( function_exists( 'dynamic_sidebar' ) && is_active_sidebar( 'widgets-2' ) ) { ?>
<div id="widgets-2">
<div class="grid" aria-label="<?php _e( 'Footer widgets area', 'omnibus-prime' ); ?>" role="complementary">
<?php dynamic_sidebar( 'widgets-2' ); ?>
</div>
</div>
<?php } ?>
<div id="colophon" class="grid">
<?php if ( has_nav_menu( 'social' ) ) { ?>
<nav class="col-xs-12" role="navigation">
<?php wp_nav_menu( array(
'theme_location' => 'social',
'menu_class' => 'unlisted h',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>'
) ); ?>
</nav>
<?php } ?>
<div class="col-xs-12 text--center">
<?php
$my_theme = wp_get_theme();
echo
$my_theme->get( 'Name' );
?>
<br>
<?php _e( 'Made with love by', 'omnibus-prime' ); ?> <a href="https://puxl.io/">PUXL</a> <?php _e( 'for', 'omnibus-prime' ); ?> <a href="https://wordpress.org/">WordPress</a>.
</div>
</div>
</footer>
<?php wp_footer(); ?>
<script>
(function() {
'use strict';
// If <html> tag contains class="no-js".
if (document.documentElement.classList.contains('no-js')) {
// Replace from <html> class="no-js" with class="js".
document.documentElement.classList.replace('no-js', 'js');
}
// Initialize app bar.
puxl_appBar(
// id
'app-bar',
// iconPath
'<?php echo get_template_directory_uri(); ?>/assets/images/puxl-icons/',
// iconOpened
'cross.svg',
// iconClosed
'menu-burger.svg',
// txtOpened
'Close navigation menu',
// txtClosed
'Open navigation menu'
);
})();
</script>
</body>
</html>