
The ability to easily add tables to your website can be really handy. Tables are great for sorting and presenting data to visitors in a format that can make your information easier to understand.
The WordPress visual editor offers many great features, but there are some things that it doesn’t let you do by default, such as letting you easily create tables.
Although you can add tables manually to your content in WordPress if you know HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for many non-technical users, this is simply not a practical option.
Fortunately, you can do almost anything you can imagine on a WordPress site with plugins, and creating tables is no exception.
In this tutorial you will learn how to easily create and add tables into your pages and blog posts with no coding skills required.
Adding Tables To WordPress Pages And Posts
Follow the tutorial below to learn how to easily add tables in WordPress using a FREE WordPress plugin called TablePress.
TablePress

TablePress is a great plugin that makes creating, editing and managing tables in your WordPress posts and pages simple and easy.
TablePress does not require you to have any knowledge of HTML, CSS, etc. It lets you easily edit your table data. You can add any kind of data to tables.
An additional JavaScript library can be used to add features like pagination, sorting, filtering, and more for your visitors. You can easily include the tables into your post content using shortcodes and even display these inside text widgets.
Tables can also be imported and exported from/to CSV files (e.g. from Excel), HTML files, and JSON formats.
This plugin was developed by Tobias Bäthge and is licensed as Free Software under GNU General Public License 2 (GPL 2).
How To Use TablePress – Step-By-Step Tutorial
To create and add tables to WordPress, install and activate the TablePress plugin.
Download this plugin here:
https://wordpress.org/plugins/tablepress
Or install it directly from within your own WordPress Dashboard …

Once the plugin has been installed and activated, a new menu item will be added to your WP admin menu called TablePress …

Click on TablePress and choose Plugin Options from the list of submenus …

The “Plugin Options” page controls your plugin styling and display settings …

For example, in the “User Options” section, you can modify where the TablePress menu entry appears on your admin menu.
Normally, the menu entry displays somewhere around the middle of your menu. If you plan to use this plugin often, then you can easily position the menu item close to the top of the admin menu by specifying “Top-level (middle)” on the User Options > Admin menu entry dropdown menu …

The TablePress menu entry now shows at the top section of the menu …

You can also play with other settings in the “Plugin Options” tab, like table formatting styles, default language, etc. If you don’t need to modify this section, then just leave the options as the default.
With TablePress, you create edit and format tables inside the plugin area. Tables are then placed via a shortcode into your content. The table will then display or update when your content is saved.
The benefit of doing this is that you can easily modify the data in your tables without having to open any of your posts. The plugin then updates all of your table information everywhere where the table has been added to your content.
To create a new table select TablePress > Add New Table …

Enter a name, an optional description, and the number of rows and columns you want for the new table into the “Add New Table” form in the Add New tab, then click on the Add Table button to create your new table. You can edit the name, description and size of your table at anytime…

Once your new table has been created, it will get added to the “All Tables” list and be assigned a unique Shortcode ID …

The TablePress shortcode lets you easily insert tables anywhere in your content simply by typing or copying and pasting the shortcode wherever you want to display your table …

Once you have created a new table, adding content to it is very easy.
In the “Table Content” section, click in the cell and type or paste your content. You can add text, images and format your content (e.g. add bold text, insert links, etc …)

After your new table has been created, additional options appear that let you configure your table.
For example, in the “Table Options” section you can specify the first row of your table to be the table header and the last row of the table to be the table footer, display alternate background colours on consecutive rows, highlight rows when visitors hover their mouse over the table, print the table name and description above or below the table, and more …

You can also modify your table content after creating it in the “Table Manipulation” section. You can perform a number of table operations, such as inserting images and links, hiding, showing, inserting, deleting and duplicating selected rows and columns, adding new columns and rows, combining cells, etc …

You can also enable JavaScript library features in your tables that will allow visitors to sort, filter and search your table content, change the number of table rows showing on your page (and also allow users to specify the number of rows displayed), display table information, etc …

You can preview your table anytime, by clicking the Preview button …

A preview window will open allowing you to preview your table. Certain features such as the JavaScript options are disabled in preview mode, but will display once your table is published …

Click the Save Changes button when finished to update your new table data …

After you have created one or more tables, you can view a list of all your tables by selecting TablePress > All Tables …

A list of all the tables you have created will be displayed in this section. You can edit, see the shortcode, copy, delete, export and preview your tables …

How To Use The Shortcode To Insert Tables Into Your Pages And Posts
You embed a table inside posts and pages with the TablePress shortcode.
Click on the Show Shortcode menu item under your table title to get the shortcode …

The plugin also adds a shortcode menu icon to your WordPress content editor. This allows you to easily insert tables into your posts and pages while working on your content.
Place your cursor where you want the table to show then click the TablePress menu icon …

TablePress Menu Icon In WordPress Visual Editor Screen
Note: You can also insert a table when working in the “Text” area of the editor …

TablePress Menu Icon In WordPress Text Editor Screen
Clicking on the menu icon displays a list of all your tables.
Select the table you want to embed in the content and click Insert Shortcode …

Your TablePress shortcode will be placed in the location you specified …

Your table will display as soon as you publish your post or page …

As stated earlier, one of the great things about this plugin is that you can edit the contents of your table after publishing the table without having to open your post or page. Just tweak the content in the plugin area, then save the new table settings and refresh your post to view the updated information.
Another great time-saving feature of the TablePress plugin, is that if you plan to keep adding data to an existing table, just export your current table, then add new items, make changes, etc. You can then re-import your table file with the news changes and your table content will be automatically updated throughout your site.
To export a table, select TablePress > Export a Table in your main menu …

In the “Export Tables” section, select the table(s) you want to export (tip: select multiple tables by holding down the “Ctrl” key), then select the Export Format you want(e.g. CSV) and any other export options you’d like to make and click on the Export Table button to download the file to your hard drive …

After changing and resaving your file, you can then re-import your table into WordPress.
To import a table into WordPress, go to your menu and select TablePress > Import a Table …

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application (e.g. Excel), an HTML file resembling a webpage, or its own format. You can also import existing tables from the WP-Table Reloaded plugin
To import a table, select and enter the source in the “Import Tables” section. You can import multiple tables from a compressed (ZIP) file and select whether to import a table as a new table or to replace an existing table.

To learn more about the plugin, including accessing the plugin documentation for extra features, get technical support, contact the plugin developer, etc., click on the “About Tab” in the plugin admin section, or select TablePress > About TablePress …

As you can see, TablePress is a very powerful time saving plugin that is free and will help you easily create and add tables into your site content.
***
"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now