Giving out the alt Text of a Image
-
Hi there,
i tried to give out the alt text of a image. I only found the snippet
<a href="<?php the_permalink(); ?>" alt="<?php echo $alt_text; ?>">
But the variabl $alt_text; seems to be incorrectly, wordpress is telling me PHP Notice: Undefined variable: alt_text in …
I hope someone knows the correct var ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Giving out the alt Text of a Image’ is closed to new replies.