-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
executable file
·38 lines (30 loc) · 939 Bytes
/
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
<?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 soapatrickeight
*/
?>
</div>
<footer class="site-footer highlight">
<div class="site-footer__sticky">
<?php
if(is_home() && !is_paged() || is_page()):
get_template_part( 'template-partials/content/content-factory_feed' );
else:
get_template_part( 'template-partials/content/content-related', get_post_type() );
endif;
?>
<p class="site-footer__copyright">
<?php echo sprintf( __( 'Stuff from 2000 to %s by SoaPatrick<a href="%s">Eight</a>', 'soapatrickeight' ), date('Y'), esc_url( home_url( '/log' )) ); ?></a>
</p>
</div>
</footer>
</div>
<?php wp_footer(); ?>
</body>
</html>