WordPress.org

Ready to get started?Download WordPress

Forums

add alt (title from upload) to thumb images (1 post)

  1. elistr
    Member
    Posted 6 years ago #

    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)?

Topic Closed

This topic has been closed to new replies.

About this Topic