[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

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" aria-label="<?php esc_attr_e( 'Blog Sidebar', 'twentyseventeen' ); ?>">
  19      <?php dynamic_sidebar( 'sidebar-1' ); ?>
  20  </aside><!-- #secondary -->


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