[ Index ]

PHP Cross Reference of WordPress

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 do_action( 'twentyeleven_credits' ); ?>
  29                  <?php
  30                  if ( function_exists( 'the_privacy_policy_link' ) ) {
  31                      the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
  32                  }
  33                  ?>
  34                  <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>">
  35                      <?php
  36                      /* translators: %s: WordPress */
  37                      printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' );
  38                      ?>
  39                  </a>
  40              </div>
  41      </footer><!-- #colophon -->
  42  </div><!-- #page -->
  43  
  44  <?php wp_footer(); ?>
  45  
  46  </body>
  47  </html>


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1