How can I echo fields when catching pages
$pages = get_pages(‘sort_column=menu_order’);
foreach($pages as $page)
{
$content = apply_filters(‘the_content’, $page->post_content);
?>
<section name=”<?php $page->the_field(“name”); ?>”>
<?php echo $content; ?>
</section>
<?php } ?>
Ok, I did find it.. 🙂
<?php echo get_field(‘name’, $page->ID); ?>