Topic: Get children page content?
Hi,
I need a bit of help/advice on this. I want to display the content of sub-page on the home page
For example; I have main page Services with 4 sub-pages, each sub-page will have some text.
I have managed to show the list of the childpage using this code
<?php $pages = Page::children('page'); ?>
<?php foreach($pages as $page) { ?>
<a href="<?php echo Site::url().'about/'.$page['slug']; ?>"><?php echo $page['title']; ?></a>
<?php } ?>
But I dont know how to get the content of the sub-page as well. Can someone give me some advice on this?
Thank you!