0

A couple of images will be easier to describe what I need to do:

Here I am entering a new product's title and description, which is simply a repeater with 2 texts. enter image description here

When I validate, I get my entry with the name "product information", as it is the name of the ACF layout. But I would like instead for the title to become "product information : super shoes". That would help the editor to more easily locate the different entries.

enter image description here

Can this be achieved?

2
  • we would definitely need to see the code you're using to display the fields.
    – rudtek
    Commented Jul 1 at 5:42
  • The displayed fields are within the Wordpress dashboard, so there is no code. Fields are all set in the ACF plugin.
    – Gynko
    Commented Jul 2 at 4:02

1 Answer 1

0

ACF has a built in filter for their flexible rows which you may be able to leverage/adjust for your own use on your repeater, or investigate and build your own:

apply_filters( 'acf/fields/flexible_content/layout_title', $title, $field, $layout, $i );

Their documentation covers this here:

https://www.advancedcustomfields.com/resources/acf-fields-flexible_content-layout_title/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.