Hi,
I have a selection field with 4 choices for my custom post type.
Example: http://i.imgur.com/FWFFBbh.png
I would like to display a different image depending on what choice they make.
I can’t solve this with your documentation, please help.
Hi @leviwestr
The select field will return the selected value with the get_field function.
On the select field documentation (http://www.advancedcustomfields.com/resources/field-types/select/) you can see how to create a conditional statement like so:
if(get_field('page_layout') == "col_1")
{
//...
}
If you still do not understand, please be specific as to what you are unable to do.
Thanks
E