Archived topic
Image elements do not have [alt] attributes - using hooks
3 replies · Started by Kumar on October 9, 2020
Hi GP team,
I am using hooks to display ads "generate_after_content" on all posts. I have added the alt="xxxx" but some reason this is still displayed as missing alt attributes.
See code and screenprint below.
Does this code needs to be tweaked to work?
Many thanks
Kumar
NB: Using the latest version of the theme: 3.0.1 and GP Premium: 1.12.2
Hi there,
Is that for the shop related products Amazon section here?
https://www.screencast.com/t/RWYuklPC3Dj4
If so you will need to check with their support - I don't think adding the alt tag to the actual scrip would work.
This isn't something controlled by the hook or GP.
Thanks for clarifying. I thought I had to do something on hooks to make it work.
No problem :)