[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template for displaying the footer
   4   *
   5   * Contains the opening of the #site-footer div and all content after.
   6   *
   7   * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
   8   *
   9   * @package WordPress
  10   * @subpackage Twenty_Twenty
  11   * @since Twenty Twenty 1.0
  12   */
  13  
  14  ?>
  15              <footer id="site-footer" role="contentinfo" class="header-footer-group">
  16  
  17                  <div class="section-inner">
  18  
  19                      <div class="footer-credits">
  20  
  21                          <p class="footer-copyright">&copy;
  22                              <?php
  23                              echo date_i18n(
  24                                  /* translators: Copyright date format, see https://www.php.net/date */
  25                                  _x( 'Y', 'copyright date format', 'twentytwenty' )
  26                              );
  27                              ?>
  28                              <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
  29                          </p><!-- .footer-copyright -->
  30  
  31                          <p class="powered-by-wordpress">
  32                              <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwenty' ) ); ?>">
  33                                  <?php _e( 'Powered by WordPress', 'twentytwenty' ); ?>
  34                              </a>
  35                          </p><!-- .powered-by-wordpress -->
  36  
  37                      </div><!-- .footer-credits -->
  38  
  39                      <a class="to-the-top" href="#site-header">
  40                          <span class="to-the-top-long">
  41                              <?php
  42                              /* translators: %s: HTML character for up arrow. */
  43                              printf( __( 'To the top %s', 'twentytwenty' ), '<span class="arrow" aria-hidden="true">&uarr;</span>' );
  44                              ?>
  45                          </span><!-- .to-the-top-long -->
  46                          <span class="to-the-top-short">
  47                              <?php
  48                              /* translators: %s: HTML character for up arrow. */
  49                              printf( __( 'Up %s', 'twentytwenty' ), '<span class="arrow" aria-hidden="true">&uarr;</span>' );
  50                              ?>
  51                          </span><!-- .to-the-top-short -->
  52                      </a><!-- .to-the-top -->
  53  
  54                  </div><!-- .section-inner -->
  55  
  56              </footer><!-- #site-footer -->
  57  
  58          <?php wp_footer(); ?>
  59  
  60      </body>
  61  </html>


Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1