Limit Blocks in an Area


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



Copy this code and paste it in your HTML
  1. <?php
  2. $a = new Area('Header Nav');
  3. $a->setBlockLimit(1);
  4. $a->display($c);
  5. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.