Specify your own columns/fieldnames, on which links should appear inside the DataTable. Each link delivers the access to the post content when users click on corresponding links in the table.
Syntax
[[jsdatatable cat=YourCategory cols=title,author,published linkto=title,author,published]] [[jsdatatable cat=YourCategory cols=YourField1,YourField2,YourField3 linkto=YourField3]] EXAMPLE: [[jsdatatable cat=YourCategory cols=lastname,firstname,Street,ZIP,City linkto=lastname,firstname]]
Default value
Without argument “linkto” the shortcode print the links on the column/fieldname “title” inside the DataTable.
Note
If you install the two plugins from the article “Add-On’s”, you get automaticly the post content within a modal after clicking on corresponding rows in the DataTabe.
LINKTO ⇒ Some live examples
Please click on the links below and check out the difference:
[jsdatatable tag=example-linkto cols=pos,title,comment head=”POS,Use this shortcode:,Note” orderby=pos searching=off]