Support

Account

Home Forums ACF PRO Make a field that behaves like a single Repeater Row

Helping

Make a field that behaves like a single Repeater Row

  • Hi there, I would love a new field type in ACF that has a layout that behaves like a repeater or flexible content row. Say I have a field Featured Video, that needs to have two sub-fields mp4 and webm. It would be great and very intuitive for the editor to have those two fields layed out horizontally next to each other. I know that I can fake a behaviour like this with a repeater field forced to have only one row. But maybe there is a better way of doing that?

  • Hi @rasso

    A neater workaround of having the rows horizontally would be to inject some custom styles to control the layout via the acf/input/admin_head filter.

    This filter has been described in detail here:https://www.advancedcustomfields.com/resources/acfinputadmin_head/

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Make a field that behaves like a single Repeater Row’ is closed to new replies.