[Resolved] Image elements do not have [alt] attributes – using hooks

Home Forums Support [Resolved] Image elements do not have [alt] attributes – using hooks

Home Forums Support Image elements do not have [alt] attributes – using hooks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1480028
    Kumar

    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

    #1480721
    Leo
    Staff
    Customer Support

    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.

    #1480981
    Kumar

    Thanks for clarifying. I thought I had to do something on hooks to make it work.

    #1481090
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.