has anyone experienced this before and knows a solution?
I have registered a flexible content field with some sub layouts. In my page template, when I dump the post data, for some of the sub layouts I get a full array of data as it should be but for some I only get an array with a single entry, the ‘acf_fc_layout’ string. The data of the subfields is completely missing.
But in the wordpress backend, when I edit the page, the subfields are there and the data is too, so it is saved correctly to the database, it just doesn’t make it’s way to the frontend.
Could you please let me know how did you add the layout?
Also, could you please check the database for any differences between the rows that show up and the ones that are not? Could you also please try to resave the post on the backend and check the returned flexible content?
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users