/Web/wp-content/themes/twentyeleven/footer.php

https://bitbucket.org/jimjenkins5/blog · PHP · 35 lines · 17 code · 6 blank · 12 comment · 1 complexity · 9670f50fb923247d5742a1251f6b8d3a MD5 · raw file

  1. <?php
  2. /**
  3. * The template for displaying the footer.
  4. *
  5. * Contains the closing of the id=main div and all content after
  6. *
  7. * @package WordPress
  8. * @subpackage Twenty_Eleven
  9. * @since Twenty Eleven 1.0
  10. */
  11. ?>
  12. </div><!-- #main -->
  13. <footer id="colophon" role="contentinfo">
  14. <?php
  15. /* A sidebar in the footer? Yep. You can can customize
  16. * your footer with three columns of widgets.
  17. */
  18. if ( ! is_404() )
  19. get_sidebar( 'footer' );
  20. ?>
  21. <div id="site-generator">
  22. <?php do_action( 'twentyeleven_credits' ); ?>
  23. <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
  24. </div>
  25. </footer><!-- #colophon -->
  26. </div><!-- #page -->
  27. <?php wp_footer(); ?>
  28. </body>
  29. </html>