-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
52 lines (44 loc) · 1.54 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
<!-- Footer -->
<?php
if (td_util::get_option('tds_footer') != 'no') {
td_api_footer_template::_helper_show_footer();
}
?>
<!-- Sub Footer -->
<?php if (td_util::get_option('tds_sub_footer') != 'no') { ?>
<div class="td-sub-footer-container">
<div class="td-container">
<div class="td-pb-row">
<div class="td-pb-span7 td-sub-footer-menu">
<?php
wp_nav_menu(array(
'theme_location' => 'footer-menu',
'menu_class'=> 'td-subfooter-menu',
'fallback_cb' => 'td_wp_footer_menu'
));
//if no menu
function td_wp_footer_menu() {
//do nothing?
}
?>
</div>
<div class="td-pb-span5 td-sub-footer-copy">
<?php
$tds_footer_copyright = td_util::get_option('tds_footer_copyright');
$tds_footer_copy_symbol = td_util::get_option('tds_footer_copy_symbol');
//show copyright symbol
if ($tds_footer_copy_symbol == '') {
echo '© ';
}
echo $tds_footer_copyright;
?>
</div>
</div>
</div>
</div>
<?php } ?>
</div><!--close content div-->
</div><!--close td-outer-wrap-->
<?php wp_footer(); ?>
</body>
</html>