How To Add Tables To WordPress Posts And Pages

Learn how to easily create and insert tables into your WordPress posts and pages with no coding skills required …

How To Add Tables To WordPress Posts And Pages

Being able to display tables on your website can be really handy. Tables are great for sorting and presenting data to people in a way that makes your information easier to understand.

The WordPress visual editor is great, but there are some things that the default editor won’t do, such as letting you create tables without having to learn code.

Although you can create tables manually in WordPress if you have knowledge of HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for most non-technical WordPress users, this is simply not a realistic option.

Fortunately, you can do just about 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 site’s pages with no coding skills required.

How To Insert Tables Into Posts And Pages With WordPress

If you want to create and add tables to your WordPress posts or pages and don’t have the skills to create tables using HTML or CSS, the step-by-step tutorial below will show you how to add tables into your WordPress posts and pages using a FREE WordPress plugin called TablePress.

WP Plugin – TablePress

How To Add Tables To WordPress

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

TablePress does not require you to have any knowledge of HTML, CSS, etc. It provides a simple interface that allows you to easily edit your table data. You can add any kind of data, even formulas to your tables.

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

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

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

How To Use TablePress Plugin For WordPress – Step-By-Step Tutorial

To create and add tables to 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 own WP Dashboard …

How To Easily Insert Tables Into Your Content

Once the plugin has been installed and activated, you will see a new menu item on your main menu called TablePress

How To Create And Add Tables In WordPress

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

Adding Tables In WordPress

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

Creating And Inserting Tables  With WordPress

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

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

How To Easily Insert Tables Into WordPress Posts And Pages Without Touching Code

The TablePress menu item now appears near the top area of the menu list …

How To Add Tables To WordPress Posts And Pages

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

With TablePress, you create and edit tables inside the plugin screen. Tables are then inserted via a shortcode into your posts. Your tables will then display when your content is republished.

The benefit of working directly from the plugin is that you can easily modify the information inside your tables without having to open any of your posts and pages. The plugin then updates all of your table data everywhere where the table has been added to your content.

To create a new table select TablePress > Add New Table

How To Create And Add Tables In WordPress

Type in a table name, a description (optional), 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 any tables you create at anytime…

How To Add Tables Into Your Content In WordPress

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

Adding Tables Into Your Content In WordPress

The TablePress shortcode allows you to easily add tables anywhere in your content simply by inserting or copying and pasting the shortcode wherever you want your table to display …

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

Once you have created a new table, adding content to the table is 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 links, etc …)

How To Easily Create And Add Tables To WordPress Posts And Pages

After your new table has been created, the plugin also displays a number of additional options that will allow you to 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, make the background of consecutive rows alternate in colour, highlight rows when a visitor hovers 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 modify your table after creating it in the “Table Manipulation” section. You can insert images or links, hide, show, insert, delete and duplicate selected columns and rows, add new rows and columns, combine cells, etc …

How To Insert Tables Into WordPress  Without Touching Code

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 displayed on your page (and let visitors change the number of rows displayed), display table information, etc …

How To Create And Add Tables Into Your Content Easily With WordPress

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

Creating And Adding Tables Into Your Content With WordPress

A preview window will open on your web browser displaying your table. Certain features like JavaScript options are disabled in preview mode, but will display when your post or page is published …

Creating And Adding Tables  In WordPress

Remember to click the Save Changes button after you are done editing to update your new table information …

How To Create And Add Tables In WordPress Posts And Pages

To view a list of all the tables you have created choose TablePress > All Tables

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

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 tables …

How To Insert Tables  In WordPress

Using The Shortcode

You insert tables into your pages and blog posts with a shortcode.

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

How To Create And Insert Tables  In 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 cursor where you want the table to appear then click the TablePress menu icon …

Inserting Tables Into Posts And Pages With WordPress

TablePress Menu Icon In Visual Editor Screen

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

How To Create And Insert Tables  With WordPress

TablePress Menu Icon In WordPress Text Editor Screen

Clicking on the menu icon displays a list of your tables.

Select the table you want to embed into the post or page and click Insert Shortcode

Creating And Inserting Tables Into Posts And Pages With WordPress

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

How To Easily Create And Insert Tables Into Your Content Without Touching Code

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

How To Add Tables In WordPress Posts And Pages

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. 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 new 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 table file with the news changes and your table content will be automatically updated throughout your site.

To export a table, click on TablePress > Export a Table in the main menu …

Inserting Tables Into Your Content In 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 table file to your hard drive …

How To Insert Tables  In WordPress

After editing and resaving your file, you can then easily reimport your table into WordPress.

To import a table into WordPress from your hard drive, select TablePress > Import a Table

Creating And Inserting Tables Into Posts And Pages In WordPress

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 ZIP files and select whether to import a table as a new table or to replace an existing table.

Creating And Adding Tables To WordPress

To learn more about using TablePress, including where to access documentation about additional 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 Add Tables In Posts And Pages In WordPress

As you can see, TablePress is an extremely powerful time saving free plugin will help you easily create and embed tables into your WordPress posts and pages.

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)

Originally published as How To Add Tables To WordPress Posts And Pages.