Advertisement
Guest User

Footer.php Horrible Linedy WP theme

a guest
May 15th, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.67 KB | None | 0 0
  1. <?php global $theme; ?>
  2.  
  3.    
  4.  
  5. <?php if($theme->display('footer_widgets')) { ?>
  6.  
  7.     <div id="footer-widgets" class="clearfix">
  8.  
  9.         <?php
  10.  
  11.         /**
  12.  
  13.         * Footer  Widget Areas. Manage the widgets from: wp-admin -> Appearance -> Widgets
  14.  
  15.         */
  16.  
  17.         ?>
  18.  
  19.         <div class="footer-widget-box">
  20.  
  21.             <?php
  22.  
  23.                 if(!dynamic_sidebar('footer_1')) {
  24.  
  25.                     $theme->hook('footer_1');
  26.  
  27.                 }
  28.  
  29.             ?>
  30.  
  31.         </div>
  32.  
  33.        
  34.  
  35.         <div class="footer-widget-box">
  36.  
  37.             <?php
  38.  
  39.                 if(!dynamic_sidebar('footer_2')) {
  40.  
  41.                     $theme->hook('footer_2');
  42.  
  43.                 }
  44.  
  45.             ?>
  46.  
  47.         </div>
  48.  
  49.        
  50.  
  51.         <div class="footer-widget-box">
  52.  
  53.             <?php
  54.  
  55.                 if(!dynamic_sidebar('footer_3')) {
  56.  
  57.                     $theme->hook('footer_3');
  58.  
  59.                 }
  60.  
  61.             ?>
  62.  
  63.         </div>
  64.  
  65.        
  66.  
  67.         <div class="footer-widget-box footer-widget-box-last">
  68.  
  69.             <?php
  70.  
  71.                 if(!dynamic_sidebar('footer_4')) {
  72.  
  73.                     $theme->hook('footer_4');
  74.  
  75.                 }
  76.  
  77.             ?>
  78.  
  79.         </div>
  80.  
  81.        
  82.  
  83.     </div>
  84.  
  85. <?php  } ?>
  86.  
  87.  
  88.  
  89.     <div id="footer">
  90.  
  91.    
  92.  
  93.         <div id="copyrights">
  94.  
  95.             <?php
  96.  
  97.                 if($theme->display('footer_custom_text')) {
  98.  
  99.                     $theme->option('footer_custom_text');
  100.  
  101.                 } else {
  102.  
  103.                     ?> &copy; <?php echo date('Y'); ?>  <a href="<?php echo home_url(); ?>/"><?php bloginfo('name'); ?></a><?php
  104.  
  105.                 }
  106.  
  107.             ?>
  108.  
  109.         </div>
  110.  
  111.        
  112.  
  113.         <?php /*
  114.  
  115.             All links in the footer should remain intact.
  116.  
  117.             These links are all family friendly and will not hurt your site in any way.
  118.  
  119.             Warning! Your site may stop working if these links are edited or deleted
  120.  
  121.            
  122.  
  123.             You can buy this theme without footer links online at http://newwpthemes.com/buy/?theme=linedy
  124.  
  125.         */ ?>
  126.  
  127.  
  128.  
  129.          <div id="credits">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Designed by: <a href="http://businessemailhosting.com/hosted-exchange/">Hosted Exchange</a> | Thanks to <a href="http://virtualdesktoponline.com/">Virtual Desktop</a>, <a href="http://mssharepointhosting.com/">SharePoint</a> and <a href="http://projectserverhosting.com/">Project Server Hosting</a></div><!-- #credits -->
  130.  
  131.        
  132.  
  133.     </div><!-- #footer -->
  134.  
  135.    
  136.  
  137. </div><!-- #container -->
  138.  
  139.  
  140.  
  141. <?php wp_footer(); ?>
  142.  
  143. <?php $theme->hook('html_after'); ?>
  144.  
  145. </body>
  146.  
  147. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement