footer.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * Contains the closing of the #content div and all content after
  6. *
  7. * @package Button 2
  8. */
  9. ?>
  10. </div><!-- #content -->
  11. <footer id="colophon" class="site-footer" role="contentinfo">
  12. <?php if ( is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) || is_active_sidebar( 'sidebar-4' ) ) : ?>
  13. <div class="footer-widgets clear">
  14. <?php if ( is_active_sidebar( 'sidebar-2' ) ): ?>
  15. <div class="widget-area">
  16. <?php dynamic_sidebar( 'sidebar-2' ); ?>
  17. </div><!-- .widget-area -->
  18. <?php endif; //is_active_sidebar ?>
  19. <?php if ( is_active_sidebar( 'sidebar-3' ) ): ?>
  20. <div class="widget-area">
  21. <?php dynamic_sidebar( 'sidebar-3' ); ?>
  22. </div><!-- .widget-area -->
  23. <?php endif; //is_active_sidebar ?>
  24. <?php if ( is_active_sidebar( 'sidebar-4' ) ): ?>
  25. <div class="widget-area">
  26. <?php dynamic_sidebar( 'sidebar-4' ); ?>
  27. </div><!-- .widget-area -->
  28. <?php endif; //is_active_sidebar ?>
  29. </div><!-- .sidebar-widgets -->
  30. <?php endif; ?>
  31. <div class="site-info">
  32. <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'button-2' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'button-2' ), 'WordPress' ); ?></a>
  33. <span class="sep"> &middot; </span>
  34. <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'button-2' ), 'Button 2', '<a href="http://wordpress.com/themes/" rel="designer">Automattic</a>' ); ?>
  35. </div><!-- .site-info -->
  36. </footer><!-- #colophon -->
  37. </div><!-- #page -->
  38. <?php wp_footer(); ?>
  39. </body>
  40. </html>