[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyten/ -> 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
   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      /*
  20       * A sidebar in the footer? Yep. You can customize
  21       * your footer with four columns of widgets.
  22       */
  23      get_sidebar( 'footer' );
  24  ?>
  25  
  26              <div id="site-info">
  27                  <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
  28                      <?php bloginfo( 'name' ); ?>
  29                  </a>
  30                  <?php
  31                  if ( function_exists( 'the_privacy_policy_link' ) ) {
  32                      the_privacy_policy_link( '<span role="separator" aria-hidden="true"></span>', '' );
  33                  }
  34                  ?>
  35              </div><!-- #site-info -->
  36  
  37              <div id="site-generator">
  38                  <?php
  39                  /**
  40                   * Fires before the Twenty Ten credits in the footer.
  41                   *
  42                   * @since Twenty Ten 1.0
  43                   */
  44                  do_action( 'twentyten_credits' );
  45                  ?>
  46                  <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyten' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>">
  47                      <?php
  48                      /* translators: %s: WordPress */
  49                      printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' );
  50                      ?>
  51                  </a>
  52              </div><!-- #site-generator -->
  53  
  54          </div><!-- #colophon -->
  55      </div><!-- #footer -->
  56  
  57  </div><!-- #wrapper -->
  58  
  59  <?php
  60      /*
  61       * Always have wp_footer() just before the closing </body>
  62       * tag of your theme, or you will break many plugins, which
  63       * generally use this hook to reference JavaScript files.
  64       */
  65  
  66      wp_footer();
  67  ?>
  68  </body>
  69  </html>


Generated: Fri Mar 29 01:00:02 2024 Cross-referenced by PHPXref 0.7.1