Support

Account

Home Forums ACF PRO Using object from repeater Reply To: Using object from repeater

  • Hi @mitrovics

    So, from the Apartment2 page, you want to get the custom field of the Project1?

    If you can get the ID of the Poject1 post, you can pass it to the get_field() function as the second parameter like this:

    $post_id = 99; // change it with the ID of Project1 post
    get_field('custom_field_name', $post_id);

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

    You can also do it with a repeater like this:

    have_rows('repeater_field_name', $post_id);

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

    If this is not the issue, I believe sharing the export file and screenshots of the issue would explain the situation better.

    Thanks!