I am building a table displaying a list of product models.
I have a <TD> with Image URL displaying a product photo. I would like the image to be a clickable link, clicking to a separate landing page.
I know I can add a <TD> with URL link next to to it with a button cta, however many people naturally click on a photo to get to a product page, plus it takes less space on mobile to do it this way.
I am building a table displaying a list of product models.
I have a <TD> with Image URL displaying a product photo. I would like the image to be a clickable link, clicking to a separate landing page.
I know I can add a <TD> with URL link next to to it with a button cta, however many people naturally click on a photo to get to a product page, plus it takes less space on mobile to do it this way.
Is this combination possible?
Hello Adriana
You can do that with string-type columns, using HTML tags like this:
And it will do just that.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables