<?php if ( is_active_sidebar( 'content-before' ) ) : ?>
<aside id="content-before" class="sidebar content-before region">
  <div class="inner">
  <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('content-before') ) : // begin secondary sidebar widgets ?>
  <?php endif; // end primary sidebar widgets  ?>
  </div>
</aside>
<?php endif; ?>
