Advertisement
Guest User

Untitled

a guest
Nov 5th, 2012
30
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None
  1. <?php
  2. $theme_options = get_option('option_tree');
  3. $omc_google_analytics = get_option_tree('omc_google_analytics', $theme_options, false);
  4. $omc_copyright_text = get_option_tree('omc_copyright_text', $theme_options, false);
  5. $omc_enable_copyright = get_option_tree('omc_enable_copyright', $theme_options, false);
  6. $omc_enable_footer_widget = get_option_tree('omc_enable_footer_widget', $theme_options, false);
  7. $omc_footer_widget_logo = get_option_tree('omc_footer_widget_logo', $theme_options, false);
  8. $omc_footer_widget_text = get_option_tree('omc_footer_widget_text', $theme_options, false);
  9. $omc_footer_facebook = get_option_tree('omc_footer_facebook', $theme_options, false);
  10. $omc_footer_twitter = get_option_tree('omc_footer_twitter', $theme_options, false);
  11. $omc_footer_flickr = get_option_tree('omc_footer_flickr', $theme_options, false);
  12. $omc_footer_pinterest = get_option_tree('omc_footer_pinterest', $theme_options, false);
  13. $omc_footer_vimeo = get_option_tree('omc_footer_vimeo', $theme_options, false);
  14. $omc_footer_youtube = get_option_tree('omc_footer_youtube', $theme_options, false);
  15. ?>
  16.  
  17. <footer id="omc-boxed">
  18.  
  19. <div id="omc-footer-border"></div>
  20.  
  21. <div id="omc-inner-footer">
  22.  
  23. <div class="omc-footer-widget-column">
  24.  
  25. <div class="omc-footer-widget">
  26.  
  27. <?php if ($omc_enable_footer_widget !== NULL) { ?>
  28.  
  29. <div class="omc-footer-widget">
  30.  
  31. <img src="<?php echo $omc_footer_widget_logo;?>" alt="footer logo" class="footer-logo" />
  32. <br/>
  33. <?php if ($omc_footer_pinterest !== NULL) {?><a class="omc-social-small pinterest" href="<?php echo $omc_footer_pinterest;?>"></a><?php } ?>
  34. <?php if ($omc_footer_facebook !== NULL) {?><a class="omc-social-small facebook" href="<?php echo $omc_footer_facebook;?>"></a><?php } ?>
  35. <?php if ($omc_footer_twitter !== NULL) {?><a class="omc-social-small twitter" href="<?php echo $omc_footer_twitter;?>"></a><?php } ?>
  36. <?php if ($omc_footer_flickr !== NULL) {?><a class="omc-social-small linkedin" href="<?php echo $omc_footer_flickr;?>"></a><?php } ?>
  37. <?php if ($omc_footer_vimeo !== NULL) {?><a class="omc-social-small vimeo" href="<?php echo $omc_footer_vimeo;?>"></a><?php } ?>
  38. <?php if ($omc_footer_youtube !== NULL) {?><a class="omc-social-small youtube" href="<?php echo $omc_footer_youtube;?>"></a><?php } ?>
  39. <br class="clear"/>
  40. <p><?php echo $omc_footer_widget_text; ?></p>
  41.  
  42. </div><!-- /omc-footer-widget -->
  43.  
  44. <?php } ?>
  45.  
  46. <?php if ( ! dynamic_sidebar( 'Footer Column 1' ) ) : endif; ?>
  47.  
  48. </div><!-- /omc-footer-widget -->
  49.  
  50. </div><!--- /first-footer-column -->
  51.  
  52. <div class="omc-footer-widget-column">
  53.  
  54. <?php if ( ! dynamic_sidebar( 'Footer Column 2' ) ) : endif; ?>
  55.  
  56. </div><!--- /second-footer-column -->
  57.  
  58. <div class="omc-footer-widget-column">
  59.  
  60. <?php if ( ! dynamic_sidebar( 'Footer Column 3' ) ) : endif; ?>
  61.  
  62. </div><!--- /third-footer-column -->
  63.  
  64. <div class="omc-footer-widget-column no-right">
  65.  
  66. <?php if ( ! dynamic_sidebar( 'Footer Column 4' ) ) : endif; ?>
  67.  
  68. </div><!--- /fourth-footer-column -->
  69.  
  70. <br class="clear" />
  71.  
  72. </div><!-- /omc-inner-footer -->
  73.  
  74. </footer>
  75.  
  76. <?php if ($omc_enable_copyright !== NULL) { ?>
  77.  
  78. <div class="omc-copyright-area">
  79.  
  80. <div class="omc-copyright-left">
  81.  
  82. <p><?php echo $omc_copyright_text; ?></p>
  83.  
  84. </div><!-- /omc-copyright-left -->
  85.  
  86. <div class="omc-copyright-right">
  87.  
  88. <?php wp_nav_menu( array('container_class' => 'omc-copyright-menu', 'theme_location' => 'copyright'));?>
  89.  
  90. <br class="clear" />
  91.  
  92. </div><!-- /omc-copyright-right -->
  93.  
  94. <br class="clear" />
  95. <a href="#top" class="omc-mobile-back-to-top omc-bottom-b-t-t"><?php _e('Back to Top', 'gonzo');?> &uarr;</a>
  96. </div><!-- /omc-copyright-area -->
  97.  
  98. <?php } ?>
  99.  
  100. <p id="back-top"><a href="#top"><span></span></a></p>
  101.  
  102. <?php wp_footer(); ?>
  103.  
  104. <!--[if lt IE 7 ]>
  105. <script src="//ajax.googleapis.com/ajax/libs/chrome
Advertisement
RAW Paste Data Copied
Advertisement