PageRenderTime 41ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/themes/catch-box/footer.php

https://github.com/ActivateNY/activateny.org
PHP | 50 lines | 34 code | 4 blank | 12 comment | 1 complexity | f6963c0c1b8ee8b396f1446c3577eb4a MD5 | raw file
Possible License(s): GPL-2.0, AGPL-1.0, LGPL-2.1
  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 Catch Themes
  8. * @subpackage Catch_Box
  9. * @since Catch Box 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. get_sidebar( 'footer' );
  19. ?>
  20. <?php if ( has_nav_menu( 'footer', 'catchbox' ) ) { ?>
  21. <nav id="access-footer" role="navigation">
  22. <h3 class="assistive-text"><?php _e( 'Footer menu', 'catchbox' ); ?></h3>
  23. <?php wp_nav_menu( array( 'theme_location' => 'footer', 'depth' => 1 ) ); ?>
  24. </nav>
  25. <?php } ?>
  26. <div id="site-generator" class="clearfix">
  27. <?php do_action( 'catchbox_startgenerator_open' ); ?>
  28. <div class="copyright">
  29. <?php esc_attr_e('Copyright &copy;', 'catchbox'); ?> <?php _e(date('Y')); ?>
  30. <a href="<?php echo home_url('/') ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>">
  31. <?php bloginfo('name'); ?>
  32. </a>
  33. <?php esc_attr_e('. All Rights Reserved.', 'catchbox'); ?>
  34. </div>
  35. <div class="powered">
  36. <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'catchbox' ) ); ?>" title="<?php esc_attr_e( 'Powered by WordPress', 'catchbox' ); ?>" rel="generator"><?php printf( __( 'Powered by %s', 'catchbox' ), 'WordPress' ); ?></a>
  37. <span class="sep"> | </span>
  38. <a href="<?php echo esc_url( __( 'http://catchthemes.com/', 'catchbox' ) ); ?>" title="<?php esc_attr_e( 'Theme Catch Box by Catch Themes', 'catchbox' ); ?>" rel="designer"><?php printf( __( 'Theme: %s', 'catchbox' ), 'Catch Box' ); ?></a>
  39. </div>
  40. <?php do_action( 'catchbox_startgenerator_close' ); ?>
  41. </div> <!-- #site-generator -->
  42. </footer><!-- #colophon -->
  43. </div><!-- #page -->
  44. <?php wp_footer(); ?>
  45. </body>
  46. </html>