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!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.