Home › Forums › General Issues › Pass the Post ID to another page › Reply To: Pass the Post ID to another page
Hi @keygrip
Yes, the get_field function contains a second parameter for $post_id.
Please not you cant load a sub field value, you will need to load the repeater, then loop through it’s data.
This is all explained in this article:
http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-another-page/
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.