[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentynineteen/template-parts/footer/ -> footer-widgets.php (source)

   1  <?php
   2  /**
   3   * Displays the footer widget area
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Nineteen
   7   * @since Twenty Nineteen 1.0
   8   */
   9  
  10  if ( is_active_sidebar( 'sidebar-1' ) ) :
  11      ?>
  12  
  13      <aside class="widget-area" aria-label="<?php esc_attr_e( 'Footer', 'twentynineteen' ); ?>">
  14          <?php
  15          if ( is_active_sidebar( 'sidebar-1' ) ) {
  16              ?>
  17                      <div class="widget-column footer-widget-1">
  18                      <?php dynamic_sidebar( 'sidebar-1' ); ?>
  19                      </div>
  20                  <?php
  21          }
  22          ?>
  23      </aside><!-- .widget-area -->
  24  
  25      <?php
  26  endif;


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref