$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="<?= $subpage->url() ?>">
      <?= html($subpage->title()) ?>
    </a>
  </li>
  <?php endforeach ?>
</ul>