[ XREF Home ] [ Index ]

PHP Cross Reference of WordPress Trunk

Provided by Yoast

title

Body

[close]

/wp-content/themes/twentyten/ -> footer.php (source)

   1  <?php
   2  /**
   3   * The template for displaying the footer.
   4   *
   5   * Contains the closing of the id=main div and all content
   6   * after.  Calls sidebar-footer.php for bottom widgets.
   7   *
   8   * @package WordPress
   9   * @subpackage Twenty_Ten
  10   * @since Twenty Ten 1.0
  11   */
  12  ?>
  13      </div><!-- #main -->
  14  
  15      <div id="footer" role="contentinfo">
  16          <div id="colophon">
  17  
  18  <?php
  19      /* A sidebar in the footer? Yep. You can can customize
  20       * your footer with four columns of widgets.
  21       */
  22      get_sidebar( 'footer' );
  23  ?>
  24  
  25              <div id="site-info">
  26                  <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
  27                      <?php bloginfo( 'name' ); ?>
  28                  </a>
  29              </div><!-- #site-info -->
  30  
  31              <div id="site-generator">
  32                  <?php do_action( 'twentyten_credits' ); ?>
  33                  <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a>
  34              </div><!-- #site-generator -->
  35  
  36          </div><!-- #colophon -->
  37      </div><!-- #footer -->
  38  
  39  </div><!-- #wrapper -->
  40  
  41  <?php
  42      /* Always have wp_footer() just before the closing </body>
  43       * tag of your theme, or you will break many plugins, which
  44       * generally use this hook to reference JavaScript files.
  45       */
  46  
  47      wp_footer();
  48  ?>
  49  </body>
  50  </html>


Generated: Wed Jun 1 08:30:02 2011 Cross-referenced by PHPXref 0.7
Provided by Yoast and awesome WordPress Hosting