Recommend you change FAQ code to get image
-
A friendly suggestion…
I see that the FAQ for getting the image from the term includes this line:
$image_data = wp_get_attachment_image_src( $image_id, 'full' );
Given that WordPress supports responsive images now and that icons should probably use the alt text provided with the image, I think switching the code to use
wp_get_attachment_image()
probably makes more sense.Love the plugin. Thanks for making it!
- The topic ‘Recommend you change FAQ code to get image’ is closed to new replies.