Hi,
I’m creating a dropdown list of colours for my client to use, but it dawned on me that it would better if they saw which colour it was they’re choosing. Is it possible to insert an image I create below to this dropdown so they can see a kind of ‘colour palette’? It would help them choose the right colour from the dropdown if so.
Any pointers appreciated. Thanks,
Osu
function addacf_image($field){
if ($field['_name']=='YourFieldName') {
echo '<p>Your image should be here</p>';
}
return $field;
}
add_filter('acf/create_field','addacf_image',10,1);
to your functions.php