-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·55 lines (40 loc) · 1.52 KB
/
footer.php
File metadata and controls
executable file
·55 lines (40 loc) · 1.52 KB
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
</main><!-- #page -->
<?php
// Previous/next page navigation.
/*
$nav = get_the_posts_pagination(array(
'prev_text' => __( '«', 'uka' ),
'next_text' => __( '»', 'uka' ),
'screen_reader_text' => __( 'A' ),
)
);
if ($nav != null){
echo '<div class="container row page-navigation-container flex center translucent">';
$nav = str_replace('<h2 class="screen-reader-text">A</h2>', '', $nav);
echo $nav;
echo '</div>';
}
*/
?>
<?php if (get_theme_mod('uka_footer_enabled', false)): ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="container row flex space-around">
<?php if ( get_theme_mod('uka_footer_logo')): ?>
<img class="column footer-logo logo" src='<?php echo esc_url( get_theme_mod( 'uka_footer_logo' ) ); ?>' alt='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>'>
<?php endif; ?>
</div><!-- .container -->
<?php if ( get_theme_mod('uka_footer_credits')): ?>
<div class="container row flex space-around">
<span class="credits"><?php echo get_theme_mod('uka_footer_credits') ?></span>
</div><!-- .container -->
<?php endif; ?>
<?php if ( get_theme_mod('uka_footer_copyright')): ?>
<div class="container row flex space-around">
<span class="credits"><?php echo '© '.get_theme_mod('uka_footer_copyright').' '.date('Y') ?></span>
</div><!-- .container -->
<?php endif; ?>
</footer><!-- .site-footer -->
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>