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


Generated: Fri Mar 29 01:00:02 2024 Cross-referenced by PHPXref 0.7.1