[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The sidebar containing the main widget area
   4   *
   5   * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
   6   *
   7   * @package WordPress
   8   * @subpackage Twenty_Seventeen
   9   * @since Twenty Seventeen 1.0
  10   * @version 1.0
  11   */
  12  
  13  if ( ! is_active_sidebar( 'sidebar-1' ) ) {
  14      return;
  15  }
  16  ?>
  17  
  18  <aside id="secondary" class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
  19      <?php dynamic_sidebar( 'sidebar-1' ); ?>
  20  </aside><!-- #secondary -->


Generated: Wed Jan 29 01:00:05 2020 Cross-referenced by PHPXref 0.7.1