Advertisement
imranmodel32

sidebar call

Nov 2nd, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php if ( is_active_sidebar( 'header-1' ) ) : ?>
  2. <?php dynamic_sidebar( 'header-1' ); ?>
  3. <?php else : ?>
  4.  
  5. <!-- This content shows up if there are no widgets defined in the backend. -->
  6.  
  7. <div class="alert alert-danger">
  8. <p><?php _e( 'Please activate some Widgets.', 'bonestheme' ); ?></p>
  9. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement