Navigation überspringen
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 -

Unterstützt die Zeitzone: America/Sao_Paulo (GMT-03:00)

Dieses Thema enthält 0 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von severinP Vor 1 Monat, 3 Wochen.

Assistiert von: Lucas Vidal de Andrade.

Verfasser Beiträge
November 6, 2024 unter 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?

Das Thema '[Geschlossen] ACF Color field is not copied to translation' ist für neue Antworten geschlossen.