Support

Account

Home Forums ACF PRO ACF Alt Tag Function? Reply To: ACF Alt Tag Function?

  • Hi, thank you for that.

    Will that for a single image as well as within a foreach galley?

    If possible can you explain this bit…

    if( $image == null )	return;
    	echo $image['alt'] ? $image['alt'] : $image['title'] ? $image['title'] : 'No ALT-Tag';

    Why no IF tags, is it just reading through and will spit something out when it finds it there?