Adding "alt" tag to CFS images in and outside the loop – Metadata
-
Hey guys,
i am still not able to add the alt tag to a custom field (both: normal and in the loop) image. I this could find its way in an update ??
This is my code:
<?php
$fields = $cfs->get(‘bilder_maintenance’);
foreach ($fields as $field) { ?>
<figure>
<img src=”<?php echo $field[‘bild_maintenance’]; ?>” alt=”??????”>
<figcaption>
<?php echo $field[‘description’]; ?>
</figcaption>
<?php endif; ?>
</figure>
<?php } ?>Thank you very much in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Adding "alt" tag to CFS images in and outside the loop – Metadata’ is closed to new replies.