Home › Forums › Add-ons › Flexible Content Field › Store single layout's content & load on another page › Reply To: Store single layout's content & load on another page
Thank you John, i feel still not sure if i understand that approach the right way. In my case, the pages and the “Global Layout” CPT (set as Post) do use the same include (Field Group) where the Flexible Content Layouts are defined.
Everything works fine on the pages, but i get no data when i add a row from the global layouts. I guess i have to pass the ID and get the metadata of the global layout, and then switch back (wp_reset_postdata) for the next row that could be an element of the page. Or maybe i’m totally wrong with this way?
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!