[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * 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  
  13      </div><!-- #main -->
  14  
  15      <footer id="colophon">
  16  
  17              <?php
  18                  /*
  19                   * A sidebar in the footer? Yep. You can customize
  20                   * your footer with three columns of widgets.
  21                   */
  22              if ( ! is_404() ) {
  23                  get_sidebar( 'footer' );
  24              }
  25              ?>
  26  
  27              <div id="site-generator">
  28                  <?php
  29                  /**
  30                   * Fires before the Twenty Eleven footer text for footer customization.
  31                   *
  32                   * @since Twenty Eleven 1.0
  33                   */
  34                  do_action( 'twentyeleven_credits' );
  35                  ?>
  36                  <?php
  37                  if ( function_exists( 'the_privacy_policy_link' ) ) {
  38                      the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
  39                  }
  40                  ?>
  41                  <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>">
  42                      <?php
  43                      /* translators: %s: WordPress */
  44                      printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' );
  45                      ?>
  46                  </a>
  47              </div>
  48      </footer><!-- #colophon -->
  49  </div><!-- #page -->
  50  
  51  <?php wp_footer(); ?>
  52  
  53  </body>
  54  </html>


Generated : Thu Oct 2 08:20:03 2025 Cross-referenced by PHPXref