WordPress.org

Support

Support » How-To and Troubleshooting » add alt (title from upload) to thumb images

add alt (title from upload) to thumb images

  • Hello,

    how can I add title from upload images.

    <img src=”<?php echo get_post_meta($post->ID, “thumb”, $single = true); ?>” alt=”” class=”th” />

    I have to change alt=”” to somethink dynamic like alt=”title at image”.

    And my question is: what I will have to insert into alt(title at image)?

  • The topic ‘add alt (title from upload) to thumb images’ is closed to new replies.