I am using ACF 3.5.6.3 and using this article (http://www.advancedcustomfields.com/resources/tutorials/dynamically-populate-a-select-fields-choices/) as is to populate select list options using textarea content (in options page), but select list does not populate with dynamic values.
-I have a Options page named ‘Global’ with a field called ‘my_select_values’ textarea with following information:
Red
Green
Blue
-I have created a field group called ‘staff-fields’ and it has a field named ‘color’ as select field.
-I have put the code from this link (http://www.advancedcustomfields.com/resources/tutorials/dynamically-populate-a-select-fields-choices/) as is on functions.php
-I have attached ‘staff-fields’ to staff custom post type, but under field color I do not see Red, Green & Blue in the dropdown list.
Not sure what am I missing? Any help is highly appreciated.
Thanks,
Hi @shuklasanjeev
At this stage, I am unsure why it ‘isn’t working’, but to do so, we will need to debug the issue.
Can you debug the functions and find out if they are running?
Also, can you post the code you are using?
Thanks
E