Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › images missing ALT text › Reply To: images missing ALT text
April 18, 2016 at 9:46 am
#8388
Hi Markus,
Indeed, because the image URLs are acquired in the process, the ALT text is not. I will note this and do a research on how to get this information if possible.
The image information is printend within the related-post-pro/includes/views/rpp.shortcode.php file on line 169:
<img src='<?php echo $rpp_post->image; ?>'/>
What I suggest, is to put the post titles as the alt value, so changing that to something like:
<img src='<?php echo $rpp_post->image; ?>' alt='<?php echo $rpp_post->title; ?>'/>
That’s probably the best solution I can come up with right now.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)