Field name was called “country_flag”, and i’ve tried more names. It didn’t work. I checked DB and data was to saved to post_meta. I was not using the same name anywhere.
I made a copy (duplicated) the field and changed the name and it worked. Don’t know the reason, but it’s working.
Thanks for ideas and your time!
All other fields than this select are saving values.
This select is not saving any values. Thats why it’s not printing anything to frontend – i mean flags.
We are not using any cache plugins etc on develop environment.
The field is used to return country code.
AF : Afghanistan
AX : Ă…land Islands
AL : Albania….
On my page first few was working at the begining. As we added more field, this field is not updating. After refresh in post admin ill always end on same value. In case of new entry Afganistan, because its first in select. If i want edit old one it will stay on previous value.
Rest of the fields is working fine.
Screenshot of field setting: https://cl.ly/2R3Q0g272J1u
Screenshot of frontend: https://cl.ly/0N0c013m1b0u
Hi John,
thanks for help, i think i figured out where was the problem.
I thought that this php import will create the ACF in admin. So i can edit them etc, but it will only show them on their location. My fail. I’ll use JSON.
Thanks for your time, i appreciate it!
Boris
Core is inside function.php in my theme.
Acf is installed normaly in plugins
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.