$pages->offset($offset)

Returns the collection starting from the given offset

  • $offset (int)
  • return ($pages)

Example

<ul>
  <?php foreach($page->children()->offset(10) as $subpage): ?>
  <li>
    <a href="<?php echo $subpage->url() ?>">
      <?php echo html($subpage->title()) ?>
    </a>
  </li>
  <?php endforeach ?>
</ul>