Add image attributes to an image


I would like to know how to customize image attributes. As a clear example, I need to add the following attribute to a particular image that I have added in my footer:

Any idea on how I can add this?

Any help is greatly appreciated.



The page has rendered the code I inserted :slight_smile: lol

So here it is with quotes:

<img src="image-xyz.gif" />



I’m not sure what is your exact issue, can you please provide a link to your website and explain how you added the image?

Kind Regards, Roman.

Hi Roman,

Thanks for the reply and for displaying the quoted code I pasted in. It’s actually missing a line, which reads:

the site is and it’s the “Sign up for our newsletter” picture in the footer. I would like to know how to edit its attributes so it can activate a pop-up


  • Gabriel

So the text editor keeps dropping this line:
<a data-sumome-listbuilder-id="xyz">

Let’s hope this works


Please try to use Text widget instead of widget that you are using now and see if it helps. Just add something like this (but with your additional attributes) to Content field of Text widget:

<a href=""><img src=""></a>

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

it worked! amazing. thanks :slight_smile: I appreciate your help, especially since the issue was not theme related but general wordpress stuff.

You are welcome Gabriel! :slight_smile:

Kind Regards, Roman.