There are three different ways to add table to your site:
- use Table shortcode,
- Value shortcode,
- Cell shortcode,
- History shortcode,
- table PHP code.
Table shortcode and PHP code can be found on the left navigation menu if you click “Tables”. For each table its own shortcode and PHP code are written here.
You can also find table shortcode when you open table to change table settings. Simply choose Table Shortcode from the dropdown menu and copy the code.
Copy and paste the shortcode into your post or page and Data Tables Generator plugin will automatically create the table on your page using the settings you choose above.
Important! Shortcode must be inserted in a text editor page, and not in the visual.
Table Value Shortcode
With Value Shortcode you can display a value of single table cell in the site content.
Table Cell Shortcode
You can also display a table with single cell in the site content.
To do this choose Table Cell Shortcode from the dropdown menu and copy the code.
Table History Shortcode
With History Shortcode you have ability to display an individual table data for each autorized user. Users can change the table data through editable fields on frontend. All user tables can be shown on Table History tab (PRO feature).
Check more documentation about Table History PRO feature.
Table PHP Code
If you want to use PHP code – сhoose Table PHP code from the dropdown menu and copy the code.
In general php code can be inserted at any place of the page code – to display exactly in this place, for example in the header or footer of the page. Besides it can be inserted in the code of template of the theme – to display on all pages.
Similarly to usual shortcode paste it into your post or page and set a coordinates of a cell you need to display, Data Tables Generator plugin will automatically display data from that cell.