Advertisement
Patrykos360

Footer.php

Feb 12th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.81 KB | None | 0 0
  1. <?php //get theme options
  2. global $con_front, $con_layout, $con_feed, $con_reviews, $con_ads, $con_misc;
  3. $con_front = get_option( 'con_front', $con_front );
  4. $con_layout = get_option( 'con_layout', $con_layout );
  5. $con_feed = get_option( 'con_feed', $con_feed );
  6. $con_reviews = get_option( 'con_reviews', $con_reviews );
  7. $con_ads = get_option( 'con_ads', $con_ads );
  8. $con_misc = get_option( 'con_misc', $con_misc ); ?>
  9.  
  10. <?php //set theme options
  11. $con_twitter_name = $con_misc['twitter_name'];
  12. $con_flickr_name = $con_misc['flickr_name'];
  13. $con_google_analytics = $con_misc['google_analytics'];
  14. $con_footer_credits = $con_misc['footer_credits'];
  15. $con_colorbox = $con_misc['colorbox'];
  16. ?>
  17.  
  18. <div id="footer-wrapper">
  19.  
  20. <div class="top">&nbsp;</div>
  21.  
  22. <div id="footer">
  23.  
  24. <div class="inner">
  25.  
  26. <div class="left">
  27.  
  28. <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Left') ) : else : ?>
  29.  
  30. <div class="widget">
  31.  
  32. <h2 class="gentesque"><?php _e(' About Continuum ', 'continuum' ); ?></h2><div class="line">&nbsp;</div> <p>
  33. <?php _e( "This is a custom sidebar. Continuum gives you lots of custom sidebar possibilities. You can use the Continuum Theme Options page to specify which pages have a unique sidebar. Or, you can use the same sidebar for all of your pages using the Sidebar Default widget panel. If you do specify that you want a unique sidebar for an area of your site, such as the Search page, you can use the corresponding built-in Sidebar Search widget panel.", 'continuum' ); ?>
  34. </p>
  35.  
  36. <p>
  37. <?php _e( "In fact, Continuum comes standard with 19 unique sidebars. Wow, we're starting to sound like a car commercial, so we'll add that you don't have to use all of them if you don't want. Continuum harnesses the power of absolute customization while at the same time having a quality of meekness: you can forget about all the settings and get yourself up and running in no time flat.", 'continuum' ); ?>
  38. </p>
  39.  
  40. </div>
  41.  
  42. <?php endif; ?>
  43.  
  44. </div>
  45.  
  46. <div class="middle">
  47.  
  48. <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Middle') ) : else : ?>
  49.  
  50. <div class="widget">
  51.  
  52. <h2 class="gentesque"><?php _e(' About Continuum ', 'continuum' ); ?></h2><div class="line">&nbsp;</div> <p>
  53. <?php _e( "This is a custom sidebar. Continuum gives you lots of custom sidebar possibilities. You can use the Continuum Theme Options page to specify which pages have a unique sidebar. Or, you can use the same sidebar for all of your pages using the Sidebar Default widget panel. If you do specify that you want a unique sidebar for an area of your site, such as the Search page, you can use the corresponding built-in Sidebar Search widget panel.", 'continuum' ); ?>
  54. </p>
  55.  
  56. <p>
  57. <?php _e( "In fact, Continuum comes standard with 19 unique sidebars. Wow, we're starting to sound like a car commercial, so we'll add that you don't have to use all of them if you don't want. Continuum harnesses the power of absolute customization while at the same time having a quality of meekness: you can forget about all the settings and get yourself up and running in no time flat.", 'continuum' ); ?>
  58. </p>
  59.  
  60. </div>
  61.  
  62. <?php endif; ?>
  63.  
  64. </div>
  65.  
  66. <div class="right">
  67.  
  68. <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Footer Right') ) : else : ?>
  69.  
  70. <div class="widget">
  71.  
  72. <h2 class="gentesque flickr"><?php _e( 'Flickr Photos', 'continuum' ); ?></h2><div class="line">&nbsp;</div>
  73.  
  74.  
  75. <script type="text/javascript">
  76. <!--
  77. jQuery(document).ready(function() {
  78. jQuery('#flickr').jflickrfeed({
  79. limit: 6,
  80. qstrings: {
  81. id: '<?php echo $con_flickr_name; ?>'
  82. },
  83. itemTemplate: '<li>'+
  84. '<a rel="colorbox" href="{{image}}" title="{{title}}">' +
  85. '<img src="{{image_s}}" alt="{{title}}" />' +
  86. '</a>' +
  87. '</li>'
  88. }, function(data) {
  89. <?php if($con_colorbox) { ?>
  90. jQuery('#flickr a').colorbox();
  91. <?php } ?>
  92. });
  93. });
  94. // -->
  95. </script>
  96.  
  97. <div class="flickr">
  98.  
  99. <ul id="flickr" class="flickr-thumbs"><li class="first"></li></ul>
  100.  
  101. <br class="clearer" />
  102.  
  103. <a href="http://www.flickr.com/photos/<?php echo $con_flickr_name; ?>" target="_blank"><?php _e( 'View more photos', 'continuum' ); ?> &raquo;</a>
  104.  
  105. </div>
  106.  
  107. </div>
  108.  
  109. <?php endif; ?>
  110.  
  111. <br class="clearer" />
  112.  
  113. <a class="topofpage tooltip" href="#page-menu-wrapper" title="Top of page">&nbsp;</a>
  114.  
  115. </div>
  116.  
  117. <br class="clearer" />
  118.  
  119. </div>
  120.  
  121. <div class="copyright">
  122.  
  123. <div class="floatleft">
  124.  
  125. <?php _e( 'Copyright', 'continuum' ); ?> &copy; <?php echo date("Y").' '.get_bloginfo('name'); ?>&nbsp;<?php _e( 'All Rights Reserved.', 'continuum' ); ?>
  126.  
  127. </div>
  128.  
  129. <div class="floatright">
  130.  
  131. <?php if($con_footer_credits) { ?>
  132.  
  133. <?php _e( 'Continuum Theme by ', 'continuum' ); ?><a href="http://www.outerspiceweb.com"><?php _e( 'Outer Spice Web Company', 'continuum' ); ?></a> | <?php _e( 'Fonts used: ', 'continuum' ); ?><a href="http://paulo-silva.kernest.com/fonts/gentesque"><?php _e( 'Gentesque', 'continuum' ); ?></a> &amp; <a href="http://www.fontsquirrel.com/fonts/Adelle-Basic"><?php _e( 'Adelle', 'continuum' ); ?></a> | <?php _e( 'Icons by ', 'continuum' ); ?><a href="http://medialoot.com/item/medialoot-prime-60-detailed-vector-icons/"><?php _e( 'MediaLoot', 'continuum' ); ?></a> &amp; <a href="http://wefunction.com/2008/07/function-free-icon-set/"><?php _e( 'Function', 'continuum' ); ?></a>
  134.  
  135. <?php } else { ?>
  136.  
  137. &nbsp;
  138.  
  139. <?php } ?>
  140.  
  141. </div>
  142.  
  143. <br class="clearer" />
  144.  
  145. </div>
  146.  
  147. </div>
  148.  
  149. <div class="bottom">&nbsp;</div>
  150.  
  151. </div>
  152.  
  153. </div>
  154.  
  155. <?php wp_footer(); ?>
  156.  
  157. <?php echo $con_google_analytics; // google analytics code ?>
  158.  
  159. </body>
  160.  
  161. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement