Login

How to output only selected rows and/or columns of table with shortcode ?

Data Tables Generator Updated Nov 15, 2026 1 min read

How to output only selected rows and/or columns of table with shortcode ?

It’s very simple!
Move to Editor tab Data Tables plugin
Data table editor tab
Select “Table Part Shortcode”
Data tables part shortcode
In shortcode you can change needed rows/columns.
In this example we choose rows 1,2 and columns A,B
Now we can use this shortcode in our page
Result
We output this data to a table
Data tables part shortcode result
Back to main page of WordPress Data Tables Generator