Table of Contents

One of most common uses of wpDataTables is to create tables, and fill them with data taken from the WordPress admin panel, without accessing or having any pre-existing data source available (Excel, CSV, Google Spreadsheet, MySQL DB, etc.). The editable table you create will be stored in MySQL, and you will be able to edit it at an any later time, or make it available for editing from the front-end.
We’ll go through the table creation process together, and explain all the available options as we proceed.
To start creating a table manually, open your WordPress admin panel, go to wpDataTables -> Create a Table, choose the second option “Create a table manually”, and click “Next“:
You will be shown the wizard steps that will assist you in creating the table structure.
(Note: if during any step, you notice that you’ve made a mistake, click “Previous” and go back)
This step is divided into two parts: table-level settings and column settings:

Going through the elements in detail:
Custom table name in database – here you can define a custom name for the MySQL table that will be created in your database.
By default, wpDataTables uses the wp_wpdatatable_{id} format for Manual tables. For example, the first table will be named wp_wpdatatable_1, the second wp_wpdatatable_2, and so on.
If you define a custom name, it must be less than 64 characters and can contain only letters, numbers, and underscores. It cannot start with a number unless the Prefix for custom database name option is enabled.
If this field is left empty, the default wp_wpdatatable_{id} naming pattern will be used.
Prefix for custom database name – when enabled, this option automatically adds your WordPress database table prefix to the custom database name entered in #2.
For example, if your WordPress database prefix is wp_ and your custom database name is clients, the resulting MySQL table name will be wp_clients.
This option is only relevant when a custom database name has been entered.
Good to know: Once a table has been created, you can always check the exact MySQL table name it is currently using — whether custom or auto-generated — by opening the table’s settings and going to the Editing tab, where it is displayed in the read-only “MySQL table name for editing” field.
Below the table-level settings, you can configure each column individually.
Going through the elements in detail:
VARCHAR, TEXT, INT, or DECIMAL.255 for VARCHAR, or 16,4 for DECIMAL. Not every database type requires a value, so this field will not be displayed for types such as TEXT.If you don’t need to define the exact database type and value, you can leave Type in database and Type value unchanged. wpDataTables will automatically assign the appropriate database type and value based on the selected column type.
These options are useful when you need more control over the underlying MySQL table structure.

Note: If you try to enter a value that exceeds the limit of a One-line string column, you may see an error saying “The supplied value may be too long or contains invalid data.” To resolve it, you can either recreate the column as a Multi-line string, or change the database type of the existing column from VARCHAR to TEXT. See our FAQ about the “The supplied value may be too long” error for more details.
Manual tables are created with four standard columns that can be used to keep track of who created or last edited each row:
These columns are hidden by default, so they will not be displayed in the table unless you choose to show them. You can toggle their visibility from the Column List whenever you need to use or display this information.

Let’s configure an example table and fill it in with some data.
We use this configuration for columns (a dummy clients table):

When you have finished configuring the table, click “Create the table”. A dropdown will open with options to open the table in a standard editor or an Excel-like editor.

If you have an older version of WordPress (prior to WordPress 5), you will have this editor by default, but if you updated your website to WordPress 5+, you can still use this editor with the help of the Classic Editor Plugin.
Once you’ve filled in some values in the table, the procedure of inserting it in your post or page is simple. Open (or create a new) post or page, place the cursor in the position where you would like to insert the table, click the “Insert a wpDataTable” button in the editor, and locate the newly-created table.
Another option is to copy&paste the table shortcode manually (you can see it in the back-end editor).
If you are using Gutenberg editor, Elementor, or WPBakery page builder, you can check out the section for Adding wpDataTables shortcodes on the page.
That’s it! Not complicated at all!
To get your hands on wpDataTables Lite, please enter your email address below. We’ll send you a direct download link and keep you updated on existing features along with helpful tips and tricks!