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 …

Adding Tables In Pages And Posts With WordPress

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

The WordPress visual editor offers many great features, but there are some things that it won’t let you do by default, such as giving you the option to easily create tables.

Although you can add tables manually to your content 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 not a realistic option.

Fortunately, WordPress plugins let you do almost anything you can imagine, 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 pages and blog posts with no coding skills required.

Creating And Adding Tables To WordPress Pages And Posts

To add tables to your WordPress posts or pages without touching code, we’ll use a FREE WordPress plugin called TablePress.

WordPress Plugin – TablePress

How To Insert Tables  With WordPress

TablePress is a great WordPress plugin that makes creating, editing and managing tables in your WordPress posts and pages simple and easy.

TablePress requires no knowledge or skills coding HTML, CSS, etc. It provides a simple interface that lets you 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 site users. You can insert tables into your content using shortcodes and even display these using text widgets.

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

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

Using TablePress Plugin For WP – Step-By-Step Tutorial

To create and manage tables in WordPress, first install and activate the TablePress plugin.

Download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from within your own Dashboard …

How To Easily Insert Tables Into Your Content Without Coding Skills

Once the plugin has been installed and activated, a new menu item will appear on your Dashboard menu called TablePress

Creating And Adding Tables Into Your Content With WordPress

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

How To Add Tables In Pages And Posts With WordPress

The “Plugin Options” area affects the plugin’s behavior in different areas of your site …

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

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

Normally, the menu entry appears somewhere around the middle of your menu column. If you plan to use this plugin often, then you can easily position the menu option close to the top of your menu by selecting “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

How To Insert Tables Into Pages And Posts In WordPress

The TablePress menu entry now shows closer to the top area of the admin menu …

Adding Tables In Pages And Posts With WordPress

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

With TablePress, tables are created and modified inside the plugin screen. Tables are then placed via a shortcode into your content. The tables will then display or update after your post or page is published.

The great thing about doing this is that you can easily modify the data in your tables without having to touch your posts and pages. The plugin then updates all of your table information in all locations where the table has been added to your content.

To add a new table select TablePress > Add New Table

Adding Tables Into Your Content In WordPress

Type in a table name, a description (optional), and the number of rows and columns you would like 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 any table you create at anytime…

How To Insert Tables Into Posts And Pages In WordPress

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

How To Add Tables In Posts And Pages With WordPress

The TablePress shortcode lets you easily add tables anywhere in your content by simply inserting or copying and pasting the shortcode wherever you want your tables to be displayed …

Adding Tables In Posts And Pages With WordPress

Once you have created a new table, adding content to it is easy.

In the “Table Content” section, just click inside the cell and either type or paste the content you want to display. You can add text, images and HTML formatting to your content (e.g. bold or italicize words, insert hyperlinks, etc …)

Creating And Inserting Tables Into Pages And Posts With WordPress

After your new table has been created, the plugin will display additional options for configuring 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 a visitor hovers their mouse over the table, print the table name and description above or below the table, and more …

Adding Tables To WordPress Posts And Pages

You can also modify your table information after creating it in the “Table Manipulation” subsection. You can perform a range of table manipulations, such as adding links and images, hiding, showing, inserting, deleting and cloning selected rows and columns, adding new columns and rows, combining cells, etc …

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

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

How To Add Tables In Pages And Posts With WordPress

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

How To Insert Tables Into Your Content In WordPress

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 when your post or page is published …

Adding Tables In Pages And Posts In WordPress

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

How To Easily Create And Insert Tables Into Your Content Without Coding Skills

Once you have created one or more tables, you can view a list of all your tables by going to TablePress > All Tables

How To Create And Insert Tables  In WordPress

All the tables you have created are listed here. You can edit, see the shortcode, copy, export, delete and preview your tables …

How To Insert Tables Into Pages And Posts In WordPress

Using The Shortcode

You embed tables inside pages and posts using the TablePress shortcode.

Click on the Show Shortcode menu item under your table title to get the shortcode …

How To Easily Create And Insert Tables Into WordPress

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 mouse cursor where you want the table to be inserted then click the TablePress menu icon …

Creating And Adding Tables In Posts And Pages With WordPress

TablePress Menu Icon In Visual Editor Screen

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

Creating And Adding Tables In Pages And Posts In WordPress

TablePress Menu Icon In WordPress HTML Editor Screen

Clicking on the menu icon opens a window containing a list of your available tables.

Select the table you want to add to the content and click Insert Shortcode

How To Add Tables To WordPress Posts And Pages

Your TablePress shortcode will be inserted …

How To Easily Insert Tables Into WordPress

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

How To Add Tables In WordPress

As stated earlier, one of the great things about this plugin is that you can edit data 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 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, select TablePress > Export a Table in the main menu …

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

In the “Export Tables” section, choose the table(s) you would like 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 …

Inserting Tables Into Your Content In WordPress

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

To import a table, select TablePress > Import a Table

Creating And Inserting Tables Into Posts And Pages With 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 a compressed (ZIP) file and choose whether to import tables as a new table or write over an existing table.

Adding Tables Into Your Content In WordPress

For more information about using TablePress, including accessing documentation about additional features, or get technical support, contact the plugin developer, etc., click on the “About Tab” in the plugin admin section, or select TablePress > About TablePress

Creating And Adding Tables In Pages And Posts With WordPress

As you can see, TablePress is a very powerful time saving plugin that is free and will help you easily create and insert tables into your site content.

***

"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.