sidebar.php 386 B

123456789101112131415
  1. <?php
  2. /**
  3. * The template for the sidebar containing the main widget area
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Sixteen
  7. * @since Twenty Sixteen 1.0
  8. */
  9. ?>
  10. <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
  11. <div id="secondary" class="sidebar widget-area" role="complementary">
  12. <?php dynamic_sidebar( 'sidebar-1' ); ?>
  13. </div><!-- .sidebar .widget-area -->
  14. <?php endif; ?>