This repository was archived by the owner on Oct 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfooter.php
More file actions
75 lines (58 loc) · 2.44 KB
/
Copy pathfooter.php
File metadata and controls
75 lines (58 loc) · 2.44 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<footer id='footer'>
<div class='footer_container'>
<a class='footer_title'>OTHER PORTFOLIO</a><br>
<?php
$icp = get_theme_mod('icp_settings');
$ins = get_theme_mod('op_instagram');
$pin = get_theme_mod('op_pinterest');
$behance = get_theme_mod('op_behance');
$dribbble = get_theme_mod('op_dribbble');
$github = get_theme_mod('op_github');
$facebook = get_theme_mod('op_facebook');
$twitter = get_theme_mod('op_twitter');
$linkedin = get_theme_mod('op_linkedin');
//Other Portfolio Display, if user leave it blank that will not display
if($ins != null || $ins = ''){
echo "<a href='$ins' target='_blank'><i class='fa fa-instagram' aria-hidden='true'></i></a>";
}
if($pin != null || $pin = ''){
echo "<a href='$pin' target='_blank'><i class='fa fa-pinterest-p' aria-hidden='true'></i></a>";
}
if($behance != null || $behance = ''){
echo "<a href='$behance' target='_blank'><i class='fa fa-behance' aria-hidden='true'></i></a>";
}
if($dribbble != null || $dribbble = ''){
echo "<a href='$dribbble' target='_blank'><i class='fa fa-dribbble' aria-hidden='true'></i></a>";
}
if($github != null || $github = ''){
echo "<a href='$github' target='_blank'><i class='fa fa-github' aria-hidden='true'></i></a>";
}
if($facebook != null || $facebook = ''){
echo "<a href='$facebook' target='_blank'><i class='fa fa-facebook' aria-hidden='true'></i></a>";
}
if($twitter != null || $twitter = ''){
echo "<a href='$twitter' target='_blank'><i class='fa fa-twitter' aria-hidden='true'></i></a>";
}
if($linkedin != null || $linkedin = ''){
echo "<a href='$linkedin' target='_blank'><i class='fa fa-linkedin' aria-hidden='ture'></i></a>";
}
?>
<br>
<br>
<div class='footer_info'>
<a>Design by </a>
<a href='https://isjeff.com'>JIANFENG WU</a>
<a> | Powered by </a>
<a href='<?php echo esc_url( home_url( '/' ) ); ?>wp-admin' target='_blank'>WordPress</a>
<?php
if($icp != null || $icp = ''){
echo "<a> | </a><a href='http://www.miibeian.gov.cn' target='_blank'>$icp</a>";
}
?>
</div>
</div>
</footer>
<script src='<?php bloginfo('template_directory'); ?>/js/common.js?v=1.2'></script>
<script src='<?php bloginfo('template_directory'); ?>/js/navMobile.js'></script>
</body>
</html>