One more thing: Because videos()
is a native Kirby page method, you need to use
<?php foreach($p->content()->videos()->toStructure() as $vid): ?>
(or use another field name)
One more thing: Because videos()
is a native Kirby page method, you need to use
<?php foreach($p->content()->videos()->toStructure() as $vid): ?>
(or use another field name)