Home › Forums › General Issues › Getting ACF to work with Pagelines DMS › Reply To: Getting ACF to work with Pagelines DMS
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
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.