
Being able to provide visitors with tables on your content can be very useful. Tables help you sort and present data to people in a way that makes your information easier to understand.
WordPress provides users with a great visual editor, but there are some things that it won’t do by default, such as letting you easily create tables.
Although you can create tables manually in WordPress if you know HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for most non-technical WordPress users, this is simply not a practical option.
Fortunately, you can do almost anything you need done on a WordPress site with plugins, and adding tables to your content with the click of a mouse is no exception.
In this tutorial you will learn how to create and add tables easily into your posts and pages without requiring knowledge of HTML or CSS or coding skills.
Creating And Adding Tables In WordPress
To add tables into your WordPress content without touching code, we’ll use a FREE plugin called TablePress.
WP Plugin – TablePress

A very powerful and time-saving WordPress plugin for creating, editing and managing tables in WordPress is TablePress.
TablePress doesn’t require you to have any knowledge of HTML, CSS, etc. The plugin lets you easily edit table data. You can add any type of data to tables.
An additional JavaScript library can be used to include features like pagination, sorting, filtering, and more for site users. You can include the tables into your pages and blog posts using shortcodes and even display tables using text widgets.
You can also import and export tables from/to CSV files (e.g. from Excel), HTML files, and JSON formats.
This plugin was created by Tobias Bäthge and is licensed as Free Software under GNU General Public License 2 (GPL 2).
Using TablePress – Tutorial
To create and manage tables in WordPress with TablePress, first install and activate the TablePress plugin.
Download this plugin here:
https://wordpress.org/plugins/tablepress
Or install it directly from your WP Dashboard …

After installing and activating the plugin, you will see a new menu item added to your admin menu called TablePress …

Click on TablePress and choose Plugin Options from the submenu list …

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 item displays somewhere near the middle of your menu column. If you plan to use this plugin a lot, then you can easily position the menu option towards the top of your admin menu by specifying “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

The TablePress menu item will now display closer towards the top area of your menu …

You can also play with other options in the “Plugin Options” tab, such as formatting styles for your tables, default language, and so on. If you don’t need to modify these settings, then just leave the options as the default.
With TablePress, you create and edit tables inside the plugin section. Tables are then placed via a shortcode into your content. The table will then display after republishing or saving your post.
The benefit of doing this is that you can easily modify the data inside your tables without having to manually edit your pages and posts. TablePress then updates all of your table data in all instances where the table has been added to your content.
To add a new table select TablePress > Add New Table …

Type in a table name, a description (optional), and the number of rows and columns you want for your 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 change the name, description and size of any tables you create at anytime…

Once the new table is created, it will be listed in the “All Tables” list and be assigned a unique Shortcode ID …

The TablePress shortcode allows you to easily add tables anywhere inside a post or page 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 your table is really easy.
In the “Table Content” section, just click inside the cell and type or paste your content. You can add text, images and HTML formatting to your content (e.g. add bold text, insert hyperlinks, etc …)

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

You can also modify your table after it has been created in the “Table Manipulation” subsection. You can perform a range of different table manipulations, like inserting images and links, hiding, showing, inserting, deleting and duplicating selected rows and columns, adding new rows and columns, 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 change the number of rows displayed), display table information, etc …

You can see how your table looks anytime, by clicking the Preview button …

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

Remember to 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 going to TablePress > All Tables …

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

How To Use The Shortcode
You can embed a table inside any pages and blog posts with the TablePress shortcode.
Get the shortcode for your tables by clicking on the Show Shortcode menu item under the table title to get the shortcode …

The plugin also adds a menu item 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 appear then click the TablePress menu icon …

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

TablePress Menu Icon In Text Editor Screen
Clicking on the menu icon displays a list of all tables.
Select the table you want to embed into the post or page and click Insert Shortcode …

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

The 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 data after publishing the table without having to edit your post or page. Just tweak the content in the plugin area, then save your new table settings and refresh your post to view the updated information.
Another great time-saving feature of this plugin, is that if you plan to keep adding new data to an existing table, you can simply export your current table, then add new information, make changes, etc. You can then re-import your exported file with the news changes and your table content will be automatically updated throughout your site.
To export an existing table, select TablePress > Export a Table in the admin menu …

In the “Export Tables” section, choose 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 editing and resaving the table file, you can then re-import your table into WordPress.
To import a table into WordPress, go to your menu and choose 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, or its own format.
To import a table, select and enter the import source in the “Import Tables” area. You can also import multiple tables from compressed (ZIP) files and select whether to import a table as a new table or write over an existing table.

For more information about the plugin, including accessing the plugin documentation for extra features, or get technical support for the plugin, 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 useful and feature-rich plugin that is free and will help you easily create and embed tables into your WordPress posts and pages.
***
"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)