How do we transform page://uid into link?

Hello there,

I’m using Kirby 4 and the new link field.
But I don’t know how to output this field.
How do we get informations about linked page and transform page://uid into a link ?

Thank you :slight_smile:

You can use multiple methods:

  • <?= url('page://abcd') ?>
  • <?= $page->linkField()->toUrl() ?>
  • <?= Url:to('page://abcd') ?>

Details here:

1 Like