sidebar.php 390 B

1234567891011121314
  1. <?php
  2. /**
  3. * The sidebars containing the widget areas.
  4. *
  5. * @package Publication
  6. */
  7. if ( ! is_active_sidebar( 'sidebar-1' ) && ! is_active_sidebar( 'sidebar-2' ) ) {
  8. return;
  9. }
  10. // Rendering empty widget area container. The widgets are moved between this and sidebar-menu location with JavaScript.
  11. ?>
  12. <div id="secondary" class="widget-area" role="complementary"></div><!-- #secondary -->