Advertisement
fluxfx

Display footer.php

Jul 21st, 2011
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. <?php global $k_option; ?>
  2. </div><!-- end #top -->
  3. </div><!-- end #wrapper -->
  4.  
  5. <div class='wrapper' id='footerwrap'>
  6.  
  7. <div id='footer'>
  8. <div class='footer_widgets'>
  9. <?php
  10. ###########################################################################################################
  11. # if footer widgets are applied to "footer widget area" display them, else show predefined lists
  12. ###########################################################################################################
  13.  
  14. if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Area')) : else :
  15.  
  16. $exclude = '';
  17.  
  18. if($k_option['blog']['blog_widget_exclude'] == 1)
  19. {
  20. $exclude = '&exclude='.$k_option['blog']['blog_cat_final'];
  21. }
  22. ?>
  23. <div class='box box_mini'>
  24. <h4>Pages</h4>
  25. <ul>
  26. <?php wp_list_pages('title_li=' ); ?>
  27. </ul>
  28. </div>
  29.  
  30. <div class='box box_mini'>
  31. <h4>Archive</h4>
  32. <ul>
  33. <?php wp_get_archives('type=monthly'); ?>
  34. </ul>
  35. </div>
  36.  
  37. <div class='box box_mini'>
  38. <h4>Categories</h4>
  39. <ul>
  40. <?php wp_list_cats('sort_column=name&optioncount=0&hierarchical=0'.$exclude); ?>
  41. </ul>
  42. </div>
  43.  
  44. <div class='box box_mini'>
  45. <h4>Blogroll</h4>
  46. <ul>
  47. <?php wp_list_bookmarks('title_li=&categorize=0'); ?>
  48. </ul>
  49. </div>
  50.  
  51.  
  52.  
  53. <?php
  54. endif;
  55. ?>
  56. </div>
  57. <div class="box box_custom_footer">
  58.  
  59. <?php
  60. ############################################################################################
  61. # FOOTER RIGHT BLOCK DEFINITIONS WITH FALLBACK MESSAGES IF NO DATABASE ENTRIES ARE FOUND
  62. ############################################################################################
  63. if($k_option['footer']['button_link'] != '') $k_option['footer']['button_link'] = get_page_link($k_option['footer']['button_link']);
  64. ?>
  65.  
  66. <!-- big button -->
  67. <a href='<?php echo $k_option['file:///FLUX HDD/Users/user/Desktop/untitled folder/display/footer']['button_link'] ?>' class='custom_button ie6fix rounded'>
  68. <strong><?php echo $k_option['footer']['button1']; ?></strong>
  69. <span><?php echo $k_option['footer']['button2']; ?></span>
  70. </a>
  71.  
  72.  
  73. <div id='sitesearch_footer'>
  74. <h4>Search Site</h4>
  75. <?php get_search_form(); ?>
  76. </div>
  77.  
  78. <!-- copyright text -->
  79. <p><?php echo $k_option['footer']['copyright']; ?></p>
  80.  
  81. <!-- social bookmarks -->
  82. <ul class="social_bookmarks">
  83. <li class='rss'><a class='ie6fix' href="<?php bloginfo('rss2_url'); ?>">RSS</a></li>
  84. <?php
  85. if($k_option['footer']['acc_fb'] != '')
  86. echo "<li class='facebook'><a class='ie6fix' href='http://facebook.com/".$k_option['footer']['acc_fb']."'>Facebook</a></li>";
  87.  
  88. if($k_option['footer']['acc_tw'] != '')
  89. echo "<li class='twitter'><a class='ie6fix' href='http://www.twitter.com/".$k_option['footer']['acc_tw']."'>Twitter</a></li>";
  90.  
  91. if($k_option['footer']['acc_fl'] != '')
  92. echo "<li class='flickr'><a class='ie6fix' href='http://www.youtube.com/user/".$k_option['footer']['acc_fl']."'>Youtube</a></li>";
  93.  
  94. ?>
  95. </ul>
  96. </div>
  97.  
  98.  
  99. </div><!--end footer-->
  100.  
  101. </div>
  102. <?php wp_footer();
  103.  
  104.  
  105. if($k_option['general']['analytics'])
  106. echo $k_option['general']['analytics'];
  107. ?>
  108. </body>
  109. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement