Support » Fixing WordPress » How to call the alt text of a custom field image.

  • Hi everyone.

    Is it possible to call the alternative text of an image, which has been uploaded as a custom field?

    Currently, from within the wordpress loop, I call the image using,

    <?php echo get_post_meta(get_the_ID(), 'wpcf-image-1', true ); ?>

    How would I get the related alternative text and caption?

    Thanks

  • The topic ‘How to call the alt text of a custom field image.’ is closed to new replies.