-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
32 lines (28 loc) · 731 Bytes
/
Copy pathfooter.php
File metadata and controls
32 lines (28 loc) · 731 Bytes
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
<?php get_sidebar(); ?>
<footer>
<div class="container">
<div class="col-md-4 copyright">
<?php
$copyright = ot_get_option('footer_copyright_text');
echo $copyright;
?>
</div>
<div class="col-md-4 social">
<?php
$socials = ot_get_option('footer_social');
if(isset($socials[0])) {
foreach($socials as $social) {
if($social['title'] != '') {
echo "<a target='_blank' class='social-link' data-name='" . $social['name'] . "' href='" . $social['href'] . "' title='" . $social['title'] . "'></a>";
}
}
}
?>
</div>
</div>
</footer>
<a href="#" class="back-to-top"><?php _e('Back to top', 'Tanx'); ?></a>
<?php wp_footer(); ?>
</div>
</body>
</html>