-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
36 lines (32 loc) · 1.62 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
</div>
</div>
<div id="footer" >
<?php if(of_get_option('ttrust_google_map_address')) : ?>
<div id="googleMap"></div>
<?php endif; ?>
<div class="main">
<div class="inside clearfix">
<?php
if(is_front_page() && is_active_sidebar('footer_home')) : dynamic_sidebar('footer_home');
elseif(is_archive() && is_active_sidebar('footer_posts')) : dynamic_sidebar('footer_posts');
elseif(is_single() && is_active_sidebar('footer_posts')) : dynamic_sidebar('footer_posts');
elseif(is_home() && is_active_sidebar('footer_posts')) : dynamic_sidebar('footer_posts');
elseif(is_page() && is_active_sidebar('footer_pages')) : dynamic_sidebar('footer_pages');
else : ?>
<?php if (!dynamic_sidebar('footer_default')); ?>
<?php endif; ?>
</div><!-- end footer inside-->
</div><!-- end footer main -->
<div class="secondary">
<div class="inside clearfix">
<?php $footer_left = of_get_option('ttrust_footer_left'); ?>
<?php $footer_right = of_get_option('ttrust_footer_right'); ?>
<div class="left"><p><?php if($footer_left){echo($footer_left);} else{ ?>© <?php echo date('Y');?> <a href="<?php bloginfo('url'); ?>"><strong><?php bloginfo('name'); ?></strong></a> All Rights Reserved.<?php }; ?></p></div>
<div class="right"><p><?php if($footer_right){echo($footer_right);} else{ ?>Theme by <a href="http://themetrust.com" title="Premium WordPress Themes"><strong>Theme Trust</strong></a><?php }; ?></p></div>
</div><!-- end footer inside-->
</div><!-- end footer secondary-->
</div><!-- end footer -->
</div><!-- end container -->
<?php wp_footer(); ?>
</body>
</html>