###Concept
ACF Flexible content field is very handy for creating many optional layouts. Sometimes we want to restrict an optional layout to be used only one time, and sometimes in a specific location. This helper function allows you to control the flexibility, but enforce the structure cleanly as if you were using WP's get_template_part
. See page.php for examples.
###File Structure
Put the layout files inside of /themes/themename
/layouts/acf
/layout-file.php
###Naming
optional field name: grid_slider
, will look for file: grid-slider.php