Please wait...

URL link columns

Video versionA video overview of URL link columns in wpDataTables

URL link columns in wpDataTablesURL Link column type and when to use it

“URL link” columns are used to render the hyperlinks which can be clicked to open pages within your website or on some external websites.

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

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

will be rendered as this:

Check out wpDataTables

If the “||” combination is not found in the content, whole content will be used both for the link and as the display value. I.e., this:

https://wpdatatables.com

will be rendered as this:

https://wpdatatables.com

  • Sorting rules: alphabetical.
  • Applicable filter types: text.
  • Issues to note: sometimes some issues may appear when you’re sorting on URL columns with complicated HTML structure.

ExampleDemo table with URL Link columns

Engine link” column in this table is an URL link column.

wdt_ID Engine name Engine link Year established
1 Google Google 1998
2 Yahoo! Yahoo! 1994
3 Bing Bing 2009
wdt_ID Engine name Engine link Year established

Never miss new features!

Join 2000+ newsletter subscribers

Never miss notifications about new cool features, promotions, giveaways or freebies - subscribe to our newsletter! We send about one mail per month, and do our best to keep our announcements interesting.

We never spam or disclose your address to anyone.