Wrap each Block in an Area with a Div


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



Copy this code and paste it in your HTML
  1. <?php $a = new Area('Sidebar');
  2. $a->setBlockWrapperStart('<div class="box">');
  3. $a->setBlockWrapperEnd('</div>');
  4. $a->display($c); ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.