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 In WordPress Content

The ability to easily add tables to your pages can be really handy. Tables help you sort and present data to people in a format that can make your information easier to understand.

The WordPress visual editor offers many great features, but there are some things that the default editor doesn’t let you do, like being able to 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 practical option.

Fortunately, you can do almost anything you can imagine on a WordPress site with plugins, and inserting tables into your content is no exception.

In this step-by-step tutorial you will learn how to create and add tables easily into your WordPress posts and pages without requiring knowledge of HTML or CSS or coding skills.

How To Create And Add Tables Into Your Content In WordPress

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

WordPress Plugin – TablePress

Creating And Adding 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 or skills coding HTML, CSS, etc. The plugin lets you easily edit table data. Your tables can contain any type 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 include the tables into your post content using shortcodes and display tables inside text widgets.

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

This 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, install and activate the TablePress plugin.

Download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your own Dashboard …

Creating And Inserting Tables Into Posts And Pages With WordPress

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

Creating And Adding Tables In Pages And Posts In WordPress

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

How To Create And Add Tables Into Your Content In WordPress

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

How To Add Tables To WordPress Posts And Pages Easily

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 item appears around the middle of your menu column. If you plan to use this plugin often, then you can position the menu option closer to the top of the admin menu by selecting “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

How To Insert Tables Into WordPress Pages And Posts Easily

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

Creating And Adding Tables In WordPress Content

You can also play with other settings in the “Plugin Options” tab, such as table formatting styles, default language, and so on. If you don’t need to change this section, then just leave the default options.

With TablePress, you create edit and format tables within the plugin screen. Tables are then placed via a shortcode into your pages. Your tables will then display when your post or page is published or updated.

The advantage of doing this is that you can easily update the data inside your tables without having to open any of your pages and posts. The plugin then updates all of your table data in all instances where the table has been added to your content.

To add a new table select TablePress > Add New Table …

How To Add Tables In Pages And Posts In WordPress

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

How To Add Tables Into Your Content In WordPress

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

Creating And Adding Tables In WordPress

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

How To Easily Insert Tables Into WordPress Without Touching Code

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

In the “Table Content” section, just 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 …)

Creating And Inserting Tables Into Pages And Posts In WordPress

After your new table has been created, additional options appear that let you configure your table.

For example, in the “Table Options” section you can specify 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 …

How To Add Tables In WordPress Pages And Posts

You can also modify your table after creating it in the “Table Manipulation” section. You can add images and links, hide, show, insert, delete and duplicate selected rows and columns, add new rows and columns, combine cells, etc …

Adding Tables In WordPress Content

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

Adding Tables  In WordPress

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

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

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

Adding Tables In Pages And Posts With WordPress

Click the Save Changes button after you are done editing to save your new table data …

How To Add Tables In WordPress Posts And Pages Easily With No Programming Skills Required

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

Creating And Adding Tables In WordPress Posts And Pages

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

Creating And Inserting Tables Into Posts And Pages In WordPress

Using The Shortcode

You can insert a table inside any content with the TablePress shortcode.

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

How To Add Tables To WordPress Pages And Posts

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 be embedded then click the TablePress menu icon …

How To Create And Insert Tables Into WordPress  Without Coding Skills

TablePress Menu Icon In WordPress Visual Editor Screen

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

How To Easily Create And Insert Tables Into WordPress Posts And Pages With No Programming Skills Required

TablePress Menu Icon In WordPress 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 …

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

Your TablePress shortcode will be added to your content …

How To Add Tables To WordPress

Publish the post or page to view your table …

Adding Tables Into Your Content With WordPress

As stated earlier, one of the great things about this plugin is that you can edit information after publishing the table without having to open your post or page. Change the content in the plugin area, then save your 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 data, 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, select TablePress > Export a Table in your main menu …

How To Create And Add Tables To WordPress Pages And Posts

In the “Export Tables” section, select 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 To WordPress Content

After editing and resaving the table 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 Posts And Pages 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 compressed (ZIP) file and choose whether to import tables as a new table or to replace an existing table.

How To Add Tables To WordPress Content

To learn more about using the plugin, including accessing documentation about extra features, or get plugin support, 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 WordPress Content

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

***

"I was absolutely amazed at the scope and breadth of these tutorials! The most in-depth training I have ever received on any subject!" - Myke O'Neill, DailyGreenPost.com

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