Advertisement
Guest User

footer.php

a guest
Oct 24th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.70 KB | None | 0 0
  1.     </div>
  2.     <div class="clear"></div>
  3. </div><!-- /.columns (#content) -->
  4. <?php
  5.  
  6. /**
  7.  * The Footer
  8.  *
  9.  * lambda framework v 2.1
  10.  * by www.unitedthemes.com
  11.  * since lambda framework v 2.0
  12.  */
  13.  
  14. global $lambda_meta_data, $theme_options;
  15. $metadata = $lambda_meta_data->the_meta();
  16.  
  17. $footerwidgets = is_active_sidebar('first-footer-widget-area') + is_active_sidebar('second-footer-widget-area') + is_active_sidebar('third-footer-widget-area') + is_active_sidebar('fourth-footer-widget-area');
  18. $class = ($footerwidgets == '0' ? 'noborder' : 'normal'); ?>
  19.  
  20. <footer id="footer-wrap" class="fluid clearfix">
  21.     <div class="container">
  22.             <div id="footer" class="<?php echo $class; ?> sixteen columns">
  23.  
  24.             <?php //loads sidebar-footer.php
  25.                 get_sidebar( 'footer' );
  26.             ?>
  27.             </div><!--/#footer-->
  28.            
  29.     </div><!--/.container-->
  30. </footer><!--/#footer-wrap-->
  31.            
  32.             <div id="sub-footer-wrap" class="clearfix">
  33.                 <div class="container">
  34.                 <div class="sixteen columns">  
  35.                 <div class="copyright eight columns alpha">
  36.                    
  37.                     <?php if(!get_option_tree('site_copyright')) { ?>
  38.                    
  39.                         &copy; <?php echo date( 'Y' ); ?> <a href="<?php echo home_url(); ?>"><?php echo get_bloginfo( 'name' ); ?></a>        
  40.                    
  41.                     <?php } else { ?>
  42.                    
  43.                         <?php echo get_option_tree('site_copyright'); ?>       
  44.                    
  45.                     <?php } ?>
  46.                    
  47.                 </div>
  48.                
  49.                 <?php
  50.                
  51.                     $copyright = (get_option('lambdacopyright')) ? get_option('lambdacopyright') : '';
  52.                     $copyrightlink = (get_option('lambdacopyrightlink')) ? get_option('lambdacopyrightlink') : '';
  53.                
  54.                 ?>
  55.                
  56.                 <div class="unitedthemes eight columns omega">
  57.                    
  58.                     <?php if(!empty($copyright)) : ?>
  59.                    
  60.                     Powered by <a href="<?php echo $copyrightlink; ?>"><?php echo $copyright; ?></a>
  61.                    
  62.                     <?php endif; ?>
  63.                    
  64.                 </div>    
  65.                 </div>
  66.                 </div>      
  67.         </div><!--/#sub-footer-wrap--> 
  68.    
  69.  
  70. </div><!--/#wrap -->
  71.  
  72. <?php
  73. #-----------------------------------------------------------------
  74. # Special JavaScripts - Do not edit anything below to keep theme functions
  75. #-----------------------------------------------------------------
  76.            
  77. // Google Analytics
  78. if (get_option_tree('google_analytics')) {
  79.     echo stripslashes(get_option_tree('google_analytics'));
  80. }
  81.  
  82. // Contact Form
  83. if(is_page_template('dynamic-contact-form.php')) {
  84.     callValidator();
  85. }
  86.  
  87.  
  88. flexslider();
  89.  
  90. ?>
  91.  
  92. <?php wp_footer();?>
  93.  
  94. </body>
  95. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement