This is an archived version of our old forum. Be aware that the solutions and questions mentioned here, might no longer be valid for Kirby 2! Please refer to our new forum for more recent questions and answers.

Get pages from different kind of templates

by lenatwitteada

Hi everybody!

Is there a way to get all the pages from 2 different categories or sections? Something like that?

<?php foreach(page('projects')->children()->visible() as $project || page('blog')->children()->visible() as $news): ?>

I want to show in a page all the projects resume and some news between them.

Is it posible?

Thank you very much!

0 Replies

Our partners

CDN by KeyCDN Search by Algolia

Top