Support

Account

Home Forums General Issues Can I add a static image in-between ACFs?

Helping

Can I add a static image in-between ACFs?

  • 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

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Can I add a static image in-between ACFs?’ is closed to new replies.