[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentysixteen/ -> sidebar-content-bottom.php (source)

   1  <?php
   2  /**
   3   * The template for the content bottom widget areas on posts and pages
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Sixteen
   7   * @since Twenty Sixteen 1.0
   8   */
   9  
  10  if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) ) {
  11      return;
  12  }
  13  
  14  // If we get this far, we have widgets. Let's do this.
  15  ?>
  16  <aside id="content-bottom-widgets" class="content-bottom-widgets">
  17      <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
  18          <div class="widget-area">
  19              <?php dynamic_sidebar( 'sidebar-2' ); ?>
  20          </div><!-- .widget-area -->
  21      <?php endif; ?>
  22  
  23      <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
  24          <div class="widget-area">
  25              <?php dynamic_sidebar( 'sidebar-3' ); ?>
  26          </div><!-- .widget-area -->
  27      <?php endif; ?>
  28  </aside><!-- .content-bottom-widgets -->


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref