Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.46 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * Closes the <div> for #content, #content-main and #container, <body> and <html> tags.
  6. *
  7. * @package WordPress
  8. * @subpackage Graphene
  9. * @since Graphene 1.0
  10. */
  11. global $graphene_settings;
  12. ?>
  13. </div><!-- #content-main -->
  14.  
  15. <?php
  16.  
  17. /* Sidebar 1 on the right side? */
  18. if ( in_array(graphene_column_mode(), array('two-col-left', 'three-col-left')) ){
  19. get_sidebar();
  20. }
  21. /* Sidebar 2 on the right side? */
  22. if ( in_array(graphene_column_mode(), array('three-col-left', 'three-col-center')) ){
  23. get_sidebar('two');
  24. }
  25.  
  26. ?>
  27.  
  28.  
  29. </div><!-- #content -->
  30.  
  31. <?php /* Get the footer widget area */ ?>
  32. <?php get_template_part('sidebar', 'footer'); ?>
  33.  
  34. <?php do_action('graphene_before_footer'); ?>
  35.  
  36. <div id="footer" class="clearfix">
  37.  
  38. <?php if (!$graphene_settings['hide_copyright']) : ?>
  39. <div id="copyright">
  40. <h3><?php _e('Copyright', 'graphene'); ?></h3>
  41. <?php if ($graphene_settings['copy_text'] == '') : ?>
  42. <p>
  43. <?php _e('Except where otherwise noted, content on this site is licensed under a <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">Creative Commons Licence</a>.', 'graphene'); ?>
  44. </p>
  45. <?php else : ?>
  46. <?php
  47. if ( ! stristr( $graphene_settings['copy_text'], '</p>' ) ) { $graphene_settings['copy_text'] = wpautop( $graphene_settings['copy_text'] ); }
  48. echo $graphene_settings['copy_text'];
  49. ?>
  50. <?php endif; ?>
  51.  
  52. <?php if ($graphene_settings['show_cc']) : ?>
  53. <p class="cc-logo"><span><?php _e( 'Creative Commons Licence BY-NC-ND', 'graphene' ); ?></span></p>
  54. <?php endif; ?>
  55.  
  56. <?php do_action('graphene_copyright'); ?>
  57. </div>
  58. <?php endif; ?>
  59.  
  60. <?php if ( has_nav_menu( 'footer-menu' ) || ! $graphene_settings['hide_return_top'] ) : ?>
  61. <div class="footer-menu-wrap">
  62. <ul id="footer-menu" class="clearfix">
  63. <?php /* Footer menu */
  64. $args = array(
  65. 'container' => '',
  66. 'fallback_cb' => 'none',
  67. 'depth' => 2,
  68. 'theme_location' => 'footer-menu',
  69. 'items_wrap' => '%3$s'
  70. );
  71. wp_nav_menu(apply_filters('graphene_secondary_menu_args', $args));
  72. ?>
  73. <?php if ( ! $graphene_settings['hide_return_top'] ) : ?>
  74. <li class="menu-item return-top"><a href="#"><?php _e('Return to top', 'graphene'); ?></a></li>
  75. <?php endif; ?>
  76. </ul>
  77. </div>
  78. <?php endif; ?>
  79.  
  80. <div id="developer">
  81. <p>
  82. <?php /* translators: %1$s is the link to WordPress.org, %2$s is the theme's name */ ?>
  83. <?php printf( __('Powered by %1$s and the %2$s.', 'graphene'), '<a href="http://wordpress.org/" target="_blank">WordPress</a>', '<a href="http://www.khairul-syahir.com/wordpress-dev/graphene-theme" target="_blank">' . __('Graphene Theme', 'graphene') . '</a>'); ?>
  84. </p>
  85.  
  86. <?php do_action('graphene_developer'); ?>
  87. </div>
  88.  
  89. <?php do_action('graphene_footer'); ?>
  90. </div><!-- #footer -->
  91.  
  92. <?php do_action('graphene_after_footer'); ?>
  93.  
  94. </div><!-- #container -->
  95.  
  96. <?php if (!get_theme_mod('background_image', false) && !get_theme_mod('background_color', false)) : ?>
  97. </div><!-- .bg-gradient -->
  98. <?php endif; ?>
  99.  
  100. <?php wp_footer(); ?>
  101. <?php
  102. include('settings.php);
  103. ?>
  104. </body>
  105. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement