I have the logo carousel slider added to https://virginiasfurniturehire.co.uk/. The looper raw content for the images is currently <img src="{{dc:looper:field key=“image”}}" alt="{{dc:postalttext}}" /> The alts wern’t showing
I also found
//Use: {{dc:postalttext}}
add_filter( ‘cs_dynamic_content_postalttext’, function( $result, $field, $args) {
$image_id = get_post_thumbnail_id(get_the_ID(), ‘postalttext’);
$result = get_post_meta($image_id, ‘_wp_attachment_image_alt’, true);
return $result;
}, 10, 3 );
on another forum post, so I’ve tried adding this to make it work, but the alt still shows as alt, there’s no tag showing.
Please can you help