Advertisement
Guest User

footer.pho

a guest
Oct 7th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. <?php
  2. /*---------------------------------
  3. The footer of the theme
  4. ------------------------------------*/
  5.  
  6. $theme_options = get_option('option_tree');
  7. $is_contact = is_page_template('template-contact.php');
  8. $is_single = is_single();
  9. $is_project = is_singular('portfolio');
  10. $is_gallery = is_singular('gallery') || is_page_template('template-gallery.php') || is_page_template('template-slideshow.php') || is_singular('portfolio') || is_page_template('template-portfolio.php');
  11. $is_video = is_page_template('template-video.php');
  12. global $rev_js;
  13.  
  14. ?>
  15.  
  16. <div class="clear"></div>
  17. </div>
  18.  
  19. <div class="footer-wrapper clearfix">
  20.  
  21. <div class="footer-light"></div>
  22.  
  23. <div class="footer">
  24.  
  25. <div class="one-fourth">
  26. <?php if(is_active_sidebar('rb_footer_widget_1'))
  27. dynamic_sidebar('rb_footer_widget_1'); ?>
  28. </div>
  29.  
  30. <div class="one-fourth">
  31. <?php if(is_active_sidebar('rb_footer_widget_2'))
  32. dynamic_sidebar('rb_footer_widget_2'); ?>
  33. </div>
  34.  
  35. <div class="one-fourth">
  36. <?php if(is_active_sidebar('rb_footer_widget_3'))
  37. dynamic_sidebar('rb_footer_widget_3'); ?>
  38. </div>
  39.  
  40. <div class="one-fourth last">
  41. <?php if(is_active_sidebar('rb_footer_widget_4'))
  42. dynamic_sidebar('rb_footer_widget_4'); ?>
  43. </div>
  44.  
  45. </div>
  46.  
  47. <div class="clear"></div>
  48.  
  49. </div>
  50.  
  51. <div class="site-generator-wrapper clearfix">
  52.  
  53. <div class="site-generator">
  54.  
  55. <div class="copyright">
  56. <?php if(is_active_sidebar('rb_footer_widget_5'))
  57. dynamic_sidebar('rb_footer_widget_5'); ?>
  58. </div>
  59.  
  60. <?php if(is_active_sidebar('rb_footer_widget_6'))
  61. dynamic_sidebar('rb_footer_widget_6'); ?>
  62.  
  63. <div class="clear"></div>
  64.  
  65. </div>
  66.  
  67. </div>
  68.  
  69. <div id="scripts">
  70.  
  71. <?php
  72.  
  73. wp_register_script('theme_plugins', get_template_directory_uri().'/js/plugins.min.js', array('jquery'), NULL, true);
  74. wp_register_script('theme_scripts', get_template_directory_uri().'/js/scripts.js', array('theme_plugins'), NULL, true);
  75.  
  76. wp_enqueue_script('theme_plugins');
  77. wp_enqueue_script('theme_scripts');
  78.  
  79. if(ot_get_option('rb_tracking_where') == 'footer') echo ot_get_option('rb_tracking');
  80.  
  81. wp_footer();
  82.  
  83. ?>
  84.  
  85. </div>
  86.  
  87. </body>
  88. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement