Advanced Custom Fields – Get custom fields from parent page

In your loop, you can access the id of the parent page with $post->post_parent.

You just need to pass this value as second parameter:

<img src="https://wordpress.stackexchange.com/questions/111351/<?php the_field("header_image', $post->post_parent ); ?>">

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)