Skip Navigation

This topic contains 0 replies, has 1 voice.

Last updated by severinP 4 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
November 6, 2024 at 6:09 pm #16374261

severinP

Background of the issue:
I am trying to have an ACF field option for a color picker. I have added a local field group for 'Store settings' with a color picker field named 'accent_color' set to wpml_cf_preferences = 1 (copy). I also added an options page for 'Store settings'.

Symptoms:
When I set the color in the default language, it is not copied over to translations. The color picker field is not locked properly; it can still be clicked and edited. I expected the color set in the default language to be retrieved in other languages using get_field('accent_color', 'option'), but I get no color until I save the options again in the other language.

The main language color seems synced properly in the admin, but not in the actual options table and not with `get_field`

This issue is not present with the other fields on the option page (repeaters, email, text..)

Questions:
Why is the color not copied over to translations?
Why is the color picker field not locked properly?

The topic ‘[Closed] ACF Color field is not copied to translation’ is closed to new replies.