forked from spooky-book/finsoc-website-wp-theme
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
89 lines (89 loc) · 3.96 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @package consultup
*/
?>
<!--==================== consultup-FOOTER AREA ====================-->
<?php
$consultup_footer_widget_background = get_theme_mod('consultup_footer_widget_background');
$consultup_overlay_footer_widget_control = get_theme_mod('consultup_overlay_footer_widget_control');
if($consultup_footer_widget_background != '') { ?>
<footer style="background-image:url('<?php echo esc_url($consultup_footer_widget_background);?>');">
<?php } else { ?>
<footer>
<?php } ?>
<div class="overlay" style="background-color: <?php echo esc_html($consultup_overlay_footer_widget_control);?>;">
<!--Start consultup-footer-widget-area-->
<?php if ( is_active_sidebar( 'footer_widget_area' ) ) { ?>
<div class="consultup-footer-widget-area">
<div class="container">
<div class="row">
<?php dynamic_sidebar( 'footer_widget_area' ); ?>
</div>
</div>
</div>
<?php } ?>
<!--End consultup-footer-widget-area-->
<div class="consultup-footer-copyright">
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="site-info">
<!-- <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'busiway' ) ); ?>">
<?php
/* translators: placeholder replaced with string */
printf( esc_html__( 'Proudly powered by %s', 'busiway' ), 'WordPress' );
?>
</a>
<span class="sep"> | </span>
<?php
/* translators: placeholder replaced with string */
printf( esc_html__( 'Theme: %1$s by %2$s.', 'busiway' ), 'Busiway', '<a href="' . esc_url( __( 'https://themeansar.com/', 'busiway' ) ) . '" rel="designer">Themeansar</a>' );
?> -->
UNSW Finance and Banking Society © 2021
</div>
</div>
<div class="col-md-6 text-right">
<?php
$footer_social_icon_enable = get_theme_mod('footer_social_icon_enable','on');
if($footer_social_icon_enable !='off')
{
$consultup_footer_fb_link = get_theme_mod('consultup_footer_fb_link');
$consultup_footer_fb_target = get_theme_mod('consultup_footer_fb_target',1);
$consultup_footer_twt_link = get_theme_mod('consultup_footer_twt_link');
$consultup_footer_twt_target = get_theme_mod('consultup_footer_twt_target',1);
$consultup_footer_lnkd_link = get_theme_mod('consultup_footer_lnkd_link');
$consultup_footer_lnkd_target = get_theme_mod('consultup_footer_lnkd_target',1);
$consultup_footer_insta_link = get_theme_mod('consultup_footer_insta_link');
$consultup_footer_insta_target = get_theme_mod('consultup_footer_insta_target',1);
?>
<ul class="ti-social">
<?php if($consultup_footer_fb_link !=''){?>
<li><span class="icon-soci"><a <?php if($consultup_footer_fb_target) { ?> target="_blank" <?php } ?>href="<?php echo esc_url($consultup_footer_fb_link); ?>"><i class="fab fa-facebook"></i></a></span> </li>
<?php } if($consultup_footer_twt_link !=''){ ?>
<li><span class="icon-soci"><a <?php if($consultup_footer_twt_target) { ?>target="_blank" <?php } ?>href="<?php echo esc_url($consultup_footer_twt_link);?>"><i class="fab fa-twitter"></i></a></span></li>
<?php } if($consultup_footer_lnkd_link !=''){ ?>
<li><span class="icon-soci"><a <?php if($consultup_footer_lnkd_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($consultup_footer_lnkd_link); ?>"><i class="fab fa-linkedin"></i></a></span></li>
<?php }
if($consultup_footer_insta_link !=''){ ?>
<li><span class="icon-soci"><a <?php if($consultup_footer_insta_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($consultup_footer_insta_link); ?>"><i class="fab fa-instagram"></i></a></span></li>
<?php } ?>
</ul>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
<!-- Scroll To Top -->
<a href="#" class="page-scroll-up"><i class="fas fa-long-arrow-alt-up"></i></a>
<!-- /Scroll To Top -->
<?php wp_footer(); ?>
</body>
</html>