Please wait...

URL link columns in wpDataTables

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 hyperlinks that can be clicked to open pages within your website, or in external websites.

  • 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:||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:
    will be rendered as:
  • Sorting rules: alphabetical.
  • Applicable filter types: text.
  • Editor input type: One-line edit, Attachment
  • Issues to note: sometimes issues may appear when you’re sorting on URL columns that feature a complicated HTML structure.

In wpDataTables 2.1 and higher, additional settings for URL link columns are available:

  1. You can configure how the link should be opened, in the new tab or the same tab.
  2. This option allows you to display the link as a button.
  3. You can set the button display text.
  4. You can set the button CSS class.

ExampleDemo table with URL Link columns

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

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

Never miss new features!

Join 3000+ 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.

By clicking "subscribe" you consent that the information you provide via this form will be securely processed and stored in compliance with EU privacy laws (GDPR).
This  information will be used to send you newsletters as well as pre-populate any forms, should you want to edit your newsletter preferences.
You can always use this link to unsubscribe from the newsletter. You can see our Privacy Policy here.