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 Create And Insert Tables Into Your Content Easily In WordPress

The ability to easily add tables to your pages can be very useful. Tables help you sort and present 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 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 many non-technical users, this is simply not a realistic 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 create and add tables easily into your site’s pages with no coding skills required.

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

To create and add tables into your WordPress content with no HTML or CSS knowledge required, we’ll use a FREE WordPress plugin called TablePress.

WP Plugin – TablePress

How To Insert Tables Into Posts And Pages With WordPress

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

TablePress does not require you to have any knowledge or skills coding 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 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 content using shortcodes and display these inside text widgets.

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

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 WP Plugin – Tutorial

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

Download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your own WordPress Dashboard …

Adding Tables To WordPress

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

How To Create And Add Tables To WordPress Content

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

How To Add Tables  In WordPress

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

Creating And Inserting Tables  With WordPress

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

How To Add Tables To WordPress

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

Inserting Tables Into Posts And Pages In WordPress

You can also play with other plugin options in the “Plugin Options” area, like table formatting styles, default language, etc. Leave all 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 section. Tables are then inserted via a shortcode into your content. Your tables will then display or update when your post or page is republished.

The advantage of doing this is that you can easily change the data in your tables without having to touch your posts. The plugin 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

How To Easily Insert Tables Into Your Content

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

How To Add Tables In Pages And Posts In WordPress

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

How To Add Tables To WordPress Easily Without Coding Skills

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

How To Easily Add Tables Into WordPress Without Touching Code

Once a new table has been created, adding content to the table is easy.

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

Creating And Inserting Tables Into Pages And Posts In WordPress

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

For example, in the “Table Options” area 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 colors on consecutive rows, highlight rows when visitors hover their mouse over the table, display the table name and description above or below the table, and more …

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

You can also modify your table content after it has been created in the “Table Manipulation” subsection. You can perform a range of different table edits, such as adding links or images, hiding, showing, inserting, deleting and duplicating selected rows and columns, adding new columns and rows, combining cells, etc …

Creating And Inserting Tables Into Your Content Easily In WordPress

You can also enable JavaScript library features in your tables that will allow your visitors to sort, filter and search your table content, set the number of table rows displayed on your post (and also allow users to change the number of rows displayed), display table information, etc …

How To Add Tables In WordPress Posts And Pages

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

How To Add Tables In Posts And Pages With WordPress

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

How To Insert Tables Into Pages And Posts With WordPress

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

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

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

Creating And Adding Tables To WordPress Posts And Pages

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

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

Using The Shortcode

You embed tables inside pages and blog posts using the TablePress 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 Into Your Content Easily With WordPress

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

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

TablePress Menu Icon In WordPress Visual Editor Screen

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

How To Create And Add Tables To WordPress Pages And Posts

TablePress Menu Icon In WordPress Text Editor Screen

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

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

Creating And Adding Tables To WordPress

Your TablePress shortcode will be inserted …

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

Publish the post or page to view the table contents …

Adding Tables  With WordPress

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

Another great time-saving feature of the TablePress 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 table 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 the main menu …

How To Easily Add Tables To Your Content Without Coding Skills

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 table file to your hard drive …

How To Add Tables In Posts And Pages In WordPress

After making changes and resaving the table file, you can then easily reimport your table into WordPress.

To import a table into WordPress from your hard drive, go to the menu and select TablePress > Import a Table

Adding Tables In Pages And Posts 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. 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 import multiple tables from a ZIP file and choose whether to import tables as a new table or replace an existing table.

How To Create And Add Tables Into WordPress Easily

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

Adding Tables In Pages And Posts In WordPress

As you can see, TablePress is quite a powerful and feature-rich plugin that is free and will help you easily create and insert tables into your page content.

***

"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

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