Okay
  Public Ticket #3507499
Hyperlinks
Closed

Comments

  • Frank J Milillo started the conversation

    How do you insert a hyperlink in the table?

  •  1,877
    Miloš replied

    Hello,

    To begin, I want to extend my heartfelt apologies for the delayed reply, 

    which is due to an unexpectedly high volume of inquiries. 

    We truly value your patience during this period.

    -

    If you have one link per cell,  perhaps the easiest way is to use our URL Columns.

    They have specific rendering rules :

    Rendering rules: If the content of the cells contains a combination of “two sticks” – || – everything to the left of this combination is used as an URL address for the link, and everything to the right as displayed text. For example:

    https://wpdatatables.com||Check out wpDataTables

    will be rendered as: Check out wpDataTables

    If the “||” combination is not found in the content, the entire content will be used both for the link and as the display value. 

    For example: https://wpdatatables.com 

    will be rendered as: https://wpdatatables.com


    The same rendering rules apply if you manually input the values in an Editable Table, or if you link a table from a Data Source like CSV/Excel/Google Sheets, then in your source cells you need to format them like that.

    -

    2.

    Alternatively, you can use String Columns.

    They can render custom HTML,  in that case, you would have to wrap the links in the source data as HTML anchor tags, for example :

    <a href="https://www.w3schools.com">Visit W3Schools.com!</a>
    

    will be rendered as hyperlink of displayed text : " Visit W3Schools.com! "

     if you use String Columns, you will also be able to have multiple links in the same cell,  and combinations or images with links, etc ( if needed).

    -

    Let me know if that makes sense, and if you have any questions. Thankssmile.png


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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