• Resolved hershey0778

    (@hershey0778)


    Hello,

    Is there a way to add an image to a cell and link it to a URL? I would like to add social media icons to a cell and link them to the account pages. Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hi there,

    Yes you will need to use HTML tags in your source file(Excel, CSV…) and insert something like this

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

    This will be open in the same window and if you need to open in new window/tab you can use attribute target=”_blank”

    <a href="your_link_or_acounts" target="_blank">
        <img src="path_to_your_social_media_icons" />
    </a>

    Best regards.

    Thread Starter hershey0778

    (@hershey0778)

    Thank you very much, this was very helpful!

    Plugin Author wpDataTables

    (@wpdatatables)

    You are welcome.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image and URL link’ is closed to new replies.