Home › Forums › General Issues › Getting ACF to work with Pagelines DMS › Reply To: Getting ACF to work with Pagelines DMS
Hi @bfrye26
ACF needs 2 things, the field name and the post ID to load from.
If you can get those 2 varibles, then you can load data with the get_field.
You need to do some debugging to find those values.
Field_name is the easy one, but getting the post_id may be an issue if not able to do it within the loop. There is always global $post
? Try that
Cheers
E
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.