Support

Account

Home Forums Bug Reports image field doesn't return image url Reply To: image field doesn't return image url

  • Just like the rest of the code, you need to send through a reference to the post object to load from. This is done like so:

    
    <img src="<?php the_field('sub_division_image', $pageChild->ID); ?>" alt="<?php echo $pageChild->post_title; ?>" />