Only show widget area id populated


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php if (function_exists('is_sidebar_active') && is_sidebar_active('sidebar')) { ?>
  2.  
  3.  
  4.  
  5. <?php } ?>
  6.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.