-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
49 lines (44 loc) · 1.3 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
<?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 cenote
*/
?>
</div><!-- .tg-container -->
</div><!-- #content -->
<?php
// Show related post if enabled.
if ( true === get_theme_mod( 'cenote_single_enable_related_post', true ) && is_single() ) {
get_template_part( 'template-parts/related/related', 'post' );
}
?>
<footer id="colophon" class="site-footer tg-site-footer <?php cenote_footer_class(); ?>">
<div class="tg-footer-top">
<div class="tg-container">
<?php get_sidebar( 'footer' ); ?>
</div>
</div><!-- .tg-footer-top -->
<div class="tg-footer-bottom">
<div class="tg-container">
<div class="tg-footer-bottom-container tg-flex-container">
<div class="tg-footer-bottom-left">
<?php get_template_part( 'template-parts/footer/footer', 'info' ); ?>
</div><!-- .tg-footer-bottom-left -->
<div class="tg-footer-bottom-right">
</div><!-- .tg-footer-bottom-right-->
</div><!-- .tg-footer-bootom-container-->
</div>
</div><!-- .tg-footer-bottom -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php
do_action( 'cenote_after_footer' );
wp_footer();
?>
</body>
</html>