Support

Account

Home Forums Front-end Issues Parent page with children page content Reply To: Parent page with children page content

  • Hi @forbiddenchunk

    You can simply get the child ID from the $child variable like this:

    $field_value = get_field('custom_field_name', $child->ID);
    echo $field_value;

    This page should give you more idea about it: https://www.advancedcustomfields.com/resources/get_field/.

    I hope this helps 🙂