forked from andreondra/stcblog
-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
executable file
·46 lines (46 loc) · 2.95 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
<?php
/**
* Footer.
* @copyright Copyright (C) 2020 Ondrej Golasowski, Petr Kucera
* @license GPL(GPLv3)
*/
?>
<footer class="footer">
<section class="footer__info">
<?php echo "© 2019 - " . date("Y") . get_theme_mod('settings_footer_copyright', '');?>
<?php if(get_theme_mod('settings_footer_gdpr_text', '') != "" && get_theme_mod('settings_footer_gdpr_link', '') != "") :?>
<p class="delimiter">·</p>
<a href="<?php echo get_theme_mod('settings_footer_gdpr_link', '');?>"><?php echo get_theme_mod('settings_footer_gdpr_text', '');?></a>
<?php endif; ?>
<?php if(get_theme_mod('settings_footer_MarCommail', '') != "") :?>
<p class="delimiter">·</p>
<a href="mailto:<?php echo get_theme_mod('settings_footer_MarCommail', '');?>"><?php echo get_theme_mod('settings_footer_MarCommail', '');?></a>
<?php endif; ?>
</section>
<section class="footer__socials">
<a style="display:none" href="https://studuj.digital/stc.php">About STC</a>
<?php if(esc_url(get_theme_mod('settings_footer_logo1')) != "") : ?>
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link1'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo1'))?> alt=""/></a>
<?php endif; ?>
<?php if(esc_url(get_theme_mod('settings_footer_logo2')) != "") : ?>
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link2'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo2'))?> alt=""/></a>
<?php endif; ?>
<?php if(esc_url(get_theme_mod('settings_footer_logo3')) != "") : ?>
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link3'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo3'))?> alt=""/></a>
<?php endif; ?>
<?php if(esc_url(get_theme_mod('settings_footer_logo4')) != "") : ?>
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link4'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo4'))?> alt=""/></a>
<?php endif; ?>
<?php if(esc_url(get_theme_mod('settings_footer_logo5')) != "") : ?>
<a class="footer__socials__icon" href=<?php echo esc_url(get_theme_mod('settings_footer_link5'))?>><img src=<?php echo esc_url(get_theme_mod('settings_footer_logo5'))?> alt=""/></a>
<?php endif; ?>
</section>
</footer>
<?php if(!is_page( 'adventni-kalendar' )){
include 'specific-pages/backgorund-animations.php';
}
?>
<?php wp_footer(); ?>
<script src="<?php echo get_bloginfo('template_directory');?>/assets/js/jquery.min.js"></script>
<script src="<?php echo get_bloginfo('template_directory');?>/assets/js/canvas.js"></script>
<script src="<?php echo get_bloginfo('template_directory') . get_js_name();?>"></script>