
Being able to display tables on your content 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 is great, but there are some things that it won’t 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 most non-technical users, this is not a feasible option.
Fortunately, WordPress plugins give users almost unlimited expansion capabilities, and inserting tables into your content is no exception.
In this step-by-step tutorial you will learn how to easily create and add tables into your content with no coding skills required.
How To Create And Insert Tables Into Your Content In WordPress
To create and add tables to your WordPress posts or pages with no coding skills required, we’ll use a FREE plugin called TablePress.
TablePress

A very powerful and time-saving plugin that makes creating, editing and managing tables in WordPress simple and easy is TablePress.
TablePress does not require you to have any knowledge of HTML, CSS, etc. The plugin provides a simple interface that allows you to easily edit your table data. You can add any kind of data to tables.
An additional JavaScript library can be used to include features like sorting, pagination, filtering, and more for visitors. You can include the tables into your posts and pages using shortcodes and display these using 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).
Using TablePress – Tutorial
To create and add tables to WordPress posts or pages, first install and activate the TablePress plugin.
Download the plugin here:
https://wordpress.org/plugins/tablepress
Or install it from within your own WP Dashboard …

Once the plugin has been installed and activated, you will see a new menu item in your Dashboard menu called TablePress …

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

The “Plugin Options” section affects the plugin’s styling and display settings …

For example, in the “User Options” section, you can modify the position of the TablePress menu entry in your Dashboard menu.
By default, the menu entry displays somewhere in the middle of your menu. If you plan to use this plugin a lot, then you can easily position the menu item towards the top of your Dashboard menu by specifying “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

The TablePress menu entry will now appear closer towards the top area of the admin menu …

You can also play with other plugin options in the “Plugin Options” area, such as table formatting styles, default language, etc. If you don’t need to modify this section, simply leave the default options.
With TablePress, tables are created and edited within the plugin screen. Tables are then added via a shortcode into your text. The table will then display when your post or page is saved.
The benefit of doing this is that you can easily update the data inside your tables without having to touch your posts and pages. TablePress then updates all of your table information everywhere where the table has been added to your content.
To add a new table select TablePress > Add New Table …

Type in a table 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, and click on the Add Table button to create your new table. You can change the name, description and size of any table you create at anytime…

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

The TablePress shortcode lets you easily insert 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 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 HTML formatting to your content (e.g. bold or italicize words, 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 and the last row of the table to be the table footer, display alternate background colors on consecutive rows, highlight a row when a visitor hovers their mouse over the table, display the table name and description above or below the table, and more …

You can also edit your table information after it has been created in the “Table Manipulation” area. You can add images and links, hide, show, insert, delete and clone selected rows and columns, add new columns and rows, combine cells, etc …

You can also enable JavaScript library features in your tables, such as allowing visitors to sort, filter and search your table content, set the number of table rows showing on your posts (and let visitors specify 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 like 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 save your table information …

To view a list of all your tables TablePress > All Tables …

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

How To Use The Shortcode
You embed a table inside pages and blog posts with a shortcode.
Click on the Show Shortcode menu item under the 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 be inserted then click the TablePress menu icon …

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

TablePress Menu Icon In HTML Editor Screen
Clicking on the menu icon opens a window containing a list of all the available tables you have created.
Select the table you want to embed in the content and click Insert Shortcode …

Your TablePress shortcode will be added …

The table and table contents 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 change the contents of your table after publishing the table without having to edit your post or page. Edit the content in the plugin area, then save your new table settings and refresh your page to view the updated information.
Another great time-saving feature of this plugin, is that if you plan to keep adding data to an existing table, you can simply export your current table, then add new items, 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 WP admin menu …

In the “Export Tables” section, choose the table(s) to export (you can 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 from your hard drive, go to the Dashboard menu and select TablePress > Import a Table …

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application, an HTML file resembling a webpage, or its own JSON format. You can also import existing tables from the WP-Table Reloaded plugin
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 choose whether to import tables as a new table or write over an existing table.

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

As you can see, TablePress is quite a useful time saving plugin that is free and will help you easily create and embed tables into your WordPress posts and pages.
***
"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum