WordPress.org

Ready to get started?Download WordPress

Forums

wp_get_attachment_image_src: how to get the title of the images? (3 posts)

  1. somtam
    Member
    Posted 2 years ago #

    Hello,

    wp_get_attachment_image_src give the url and the size of the image, but not the title or the alternate text. How can I do?

    thanks!

  2. s_ha_dum
    Member
    Posted 2 years ago #

  3. somtam
    Member
    Posted 2 years ago #

    thanks! I didn't see it gives the attributes too!

Topic Closed

This topic has been closed to new replies.

About this Topic