I am wondering how to set the image alt tag dynamically inside a query template.
In this case i am querying a CPT and show the featured image as an avatar.
What I would expect:
- the alt text is set automatically as it’s set in the media library.
- the alt text is empty