Support

Account

Home Forums General Issues How to display a value from a parent page? Reply To: How to display a value from a parent page?

  • if it is url, than:

    $url = wp_get_attachment_url( $attachment_id );
    $title = get_the_title( $attachment_id )

    is false for sure. because it expect you work with ID 😉

    you didn’t answer what values you get from the echos.
    what was output of my code from last post?
    (do you get correct ID and ParentID? and what did you get from get_field?)

    with URL you may can use $attachment_id direct