How to Add Tables to WordPress

Being able to easily add tables on your pages can be really handy. Tables help you sort and present data to people in a way that makes your information easier to understand.

WordPress provides users with a feature-rich visual editor, but there are some things that it doesn’t let you do by default, like being able to create tables without having to learn code.

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 WordPress users, this is not a practical option.

Fortunately, you can do just about anything you need done on a WordPress site with plugins, and adding tables to your content is no exception.

In this step-by-step tutorial you will learn how to easily create and add tables into your site’s pages with no coding skills required.

Adding Tables In Posts And Pages With WordPress

Follow the step-by-step tutorial below to learn how to create and add tables in WordPress using a FREE WordPress plugin called TablePress.

WP Plugin – TablePress

How To Create And Add Tables In Posts And Pages With WordPress

A powerful and time-saving plugin for creating, editing and managing tables in WordPress is TablePress.

TablePress doesn’t require you to have any knowledge of HTML, CSS, etc. It provides a simple user interface that allows you to easily edit your table data. Your tables can contain any kind of data, even formulas.

An additional JavaScript library can be used to include features like pagination, sorting, filtering, and more for your visitors. You can insert tables into your posts and pages using shortcodes and even display these using text widgets.

You can also import and export a table from/to CSV files (e.g. from Excel), HTML files, and JSON formats.

The plugin was written and developed by Tobias Bäthge and is licensed as Free Software under GNU General Public License 2 (GPL 2).

Using TablePress WordPress Plugin – Step-By-Step Tutorial

To create and add tables to WordPress posts and pages, first install and activate the TablePress plugin.

You can download the plugin here:

https://wordpress.org/extend/plugins/tablepress

Or install it directly from your WP Dashboard …

How To Easily Add Tables Into Your Content Without Programming Skills

Once you have installed and activated the plugin, you will see a new menu item added to your WP admin menu called TablePress

Inserting Tables Into Posts And Pages With WordPress

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

How To Insert Tables Into Pages And Posts With WordPress

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

How To Insert Tables In WordPress

For example, in the “User Options” section, you can change where the TablePress menu entry appears on your WP admin menu.

By default, the menu entry appears around the middle of your menu. If you plan to use this plugin a lot, then you can position the menu option closer to the top of the Dashboard menu by choosing “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

How To Create And Add Tables Into Your Content In WordPress

The TablePress menu entry now shows closer towards the top area of your menu …

How To Create And Insert Tables Into Pages And Posts With WordPress

You can also specify other plugin options in the “Plugin Options” section, like table formatting styles, default language, and so on. Leave all settings as they are if you don’t need to change things in this area.

With TablePress, tables are created and formatted within the plugin area. Tables are then inserted via a shortcode into your pages. Your tables will then display or update when publishing your content.

The advantage of working directly from the plugin is that you can easily modify the information inside your tables without having to manually edit your pages and posts. TablePress then updates all of your table information in all locations where the table has been added to your content.

To create a new table select TablePress > Add New Table

How To Add Tables In Posts And Pages With WordPress

Enter the 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 change the name, description and size of your table at anytime…

Adding Tables In WordPress

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

How To Create And Add Tables In WordPress Content

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 …

How To Insert Tables With WordPress

Once a new table has been created, adding content to it is really 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. bold or italicize words, insert hyperlinks, etc …)

Creating And Adding Tables In WordPress Pages And Posts

Once your new table is created, additional options appear that let you configure your table.

For example, in the “Table Options” area 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, make the background of consecutive rows alternate in colour, highlight a row when visitors hover their mouse over the table, show the table name and description above or below the table, and more …

Adding Tables In WordPress Posts And Pages

You can also edit your table after it has been created in the “Table Manipulation” area. You can perform various table operations, like adding links or images, hiding, showing, inserting, deleting and cloning selected rows and columns, adding new columns and rows, combining cells, etc …

Creating And Adding Tables In Posts And Pages In WordPress

You can also enable JavaScript library features in your tables, such as allowing site visitors to sort, filter and search your table content, set the number of table rows showing on your site (and let visitors specify the number of rows displayed), display table information, etc …

Creating And Adding Tables Into Your Content In WordPress

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

Adding Tables With WordPress

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

How To Add Tables To WordPress

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

How To Create And Insert Tables Into WordPress Easily

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

How To Create And Add Tables In WordPress

All the tables you have created are displayed in this section. You can edit, see the shortcode, copy, delete, export and preview tables …

Creating And Inserting Tables In WordPress

Using The Shortcode To Embed Tables Into Your Pages And Blog Posts

You embed a table inside page content with a shortcode.

Get the shortcode for your tables by clicking on the Show Shortcode menu item below the table title to get the shortcode …

Inserting Tables Into Posts And Pages With WordPress

The plugin also adds a menu item to your WordPress editor. This allows you to easily insert tables into your posts and pages while working on your content.

Place your mouse cursor where you want your table to show then click the TablePress menu icon …

How To Create And Add Tables In WordPress Pages And Posts

TablePress Menu Icon In WordPress Visual Editor Screen

Note: You can also insert a table when working inside the “Text” area of the WordPress editor …

How To Create And Add Tables In WordPress

TablePress Menu Icon In HTML Editor Screen

Clicking on the menu icon displays a list of all the available tables you have created.

Select the table you want to embed into your content and click Insert Shortcode

How To Easily Insert Tables Into WordPress Pages And Posts Without Programming Skills

Your TablePress shortcode will be inserted into your content …

How To Add Tables In WordPress

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

How To Create And Add Tables Into WordPress Easily Without Touching Code

As stated earlier, one of the great things about this plugin is that you can edit things after publishing the table without having to open your post or page. Change the content in the plugin area, then save the new table settings and refresh your content to view the updated content.

Another great time-saving feature of this 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 exported file with the news changes and your table content will be automatically updated throughout your site.

To export an existing table, click on TablePress > Export a Table in your admin menu …

Creating And Inserting Tables With WordPress

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 …

How To Create And Add Tables Into Your Content With No Coding Skills Required

After changing and resaving your file, you can then re-import the table into WordPress.

To import a table into WordPress, select TablePress > Import a Table

Creating And Adding Tables In WordPress

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.

To import a table, select and enter the import source in the “Import Tables” section. You can import multiple tables from a ZIP file and choose whether to import a table as a new table or replace an existing table.

How To Add Tables To WordPress

For more information about using the plugin, including where to access documentation about extra features, 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

How To Create And Insert Tables With WordPress

As you can see, TablePress is quite a powerful time saving free plugin will help you easily create and embed tables into your page content.

Read previous post:
Tutorial: Customizing the WordPress Dashboard

If you need help using WordPress, you may want to see this step-by-step tutorial on how to use your site's...

Close