Skip to content

Toggle layout removes layout from ACF front-end form #130

Description

@Dennisscholten

After toggling a flexible layout and saving the page, the layout itself disappears from acf_forms that are displayed on the front-end.
In the back-end the layout is there and works as expected.

Disabling the 'load_value' function in field-flexible-content-actions.php makes the field appear in the front-end form (but also in the content, of course). My guess is that the filter for unsetting layouts works through on front-end displayed acf_forms. Is there a fix for this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions