Salta la navigazione
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Fuso orario del supporto: America/Sao_Paulo (GMT-03:00)

Questo ticket contiene 0 risposta, ha 1 voce.

Ultimo aggiornamento da severinP 8 mese fa.

Assistito da: Lucas Vidal de Andrade.

Autore Post
Novembre 6, 2024 alle 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?

L'argomento “[Chiuso] ACF Color field is not copied to translation” è chiuso ai nuovi commenti.