Tags for inserting email address and URL?

Hi guys, I'm making an editable template which has this basic code:

<a href=""><img src="reg.jpg" alt="Register"></a>

<a href="mailto:"><img src="enq.jpg" alt="Enquire"></a>

The client needs to be able to insert a URL into the first line and an email address into the second line. Nothing I've tried has worked. The ideal would be something like this:

<a href='<singleline label="URL">Add URL here</singleline>'><img src="reg.jpg" alt="Register"></a>

<a href='mailto:<singleline label="Email Address">Add email address here</singleline>'><img src="enq.jpg" alt="Enquire"></a>

The above doesn't work (the fields are not editable, and there are errors in the HTML). I've tried all sorts of hacks, but nothing has allowed me to do this. Wondering if there's a solution for this.

Thanks for any suggestions. :)

Mathew Mathew, 5 years ago

Hey Ralph,

If you make the images themselves editable, then the editor will also allow your clients to add an href or mailto link around the image automatically.

Would that work for you?

Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
ralph.m, 5 years ago

Ah Mathew, that worked a treat! Thanks so much. I really appreciate your reply. :)

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free