<?php if ( is_active_sidebar( 'statichero' ) ): ?> <!-- ******************* The Hero Widget Area ******************* --> <div class="wrapper" id="wrapper-static-hero"> <?php dynamic_sidebar( 'statichero' ); ?> </div> <?php else : ?> <?php endif; ?>