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.

Creating And Inserting Tables Into Pages And Posts With 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 format that can make your information easier to understand.

WordPress provides users with a great visual editor, but there are some things that the default editor doesn’t let you do, such as letting you create tables without having to learn code.

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

Fortunately, you can do almost anything you need done on a WordPress site with plugins, and inserting tables into your content with the click of a mouse is no exception.

In this tutorial you will learn how to create and insert tables easily into your site’s pages without requiring knowledge of HTML or CSS or coding skills.

How To Create And Add Tables With WordPress

To add tables into your WordPress content with no coding skills required, we’ll use a FREE plugin called TablePress.

WordPress Plugin – TablePress

How To Easily Add Tables To WordPress Without Touching Code

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

TablePress requires no knowledge or skills coding HTML, CSS, etc. The plugin provides a simple user interface that allows you to easily edit table data. You can add any type of data, even formulas to your tables.

An additional JavaScript library can be used to add features like sorting, pagination, filtering, and more for visitors. You can easily include the tables into your page content using shortcodes and even 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.

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

How To Use TablePress WP Plugin – Tutorial

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

You can download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from within your WordPress Dashboard …

How To Create And Add Tables Into Your Content In WordPress

After installing and activating the plugin, you will see a new menu item added to your WP admin menu called TablePress

Creating And Adding Tables To WordPress

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

Creating And Adding Tables In Pages And Posts With WordPress

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

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

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

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

Inserting Tables  In WordPress

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

Creating And Adding Tables In WordPress Posts And Pages

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

With TablePress, you create edit and format tables inside the plugin area. Tables are then inserted via a shortcode into your content. Your tables will then display after publishing or updating your pages or posts.

The benefit of working directly from the plugin is that you can easily modify the data in your tables without having to open any of your pages and posts. 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 Easily In WordPress

Type in a 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, and 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 WordPress Posts And Pages

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

Inserting Tables Into Posts And Pages In WordPress

The TablePress shortcode lets you easily add tables anywhere inside a post or page simply by typing or copying and pasting the shortcode wherever you want your tables to display …

Adding Tables Into Your Content With WordPress

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

Adding Tables  With WordPress

Once your new table is created, you will see a number of additional options that will 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 and 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, display the table name and description above or below the table, and more …

Inserting Tables Into Your Content Easily With WordPress

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

How To Create And Insert Tables Into Your Content 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, change the number of table rows displayed on your site (and also allow visitors to specify the number of rows displayed), display table information, etc …

How To Create And Add Tables To WordPress Pages And Posts

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

Creating And Adding Tables In Pages And Posts With WordPress

A preview window will open in your browser displaying your table. Certain features such as the JavaScript options are disabled in preview mode, but will display once your post or page is published …

Creating And Adding Tables To WordPress Posts And Pages

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

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

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

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

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

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

Using The Shortcode To Insert Tables Into Your Page Content

You insert a table into any page content with a shortcode.

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 In WordPress Posts And Pages

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 …

How To Add Tables In Pages And Posts With WordPress

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 Insert Tables  With WordPress

TablePress Menu Icon In Text 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 insert into your content and click Insert Shortcode

Creating And Inserting Tables Into Your Content Easily With WordPress

Your TablePress shortcode will be added to your content …

How To Add Tables In Posts And Pages With WordPress

Publish the post or page to display the table and table contents …

How To Add Tables  In WordPress

As stated earlier, one of the great things about this plugin is that you can change the contents of your table after publishing the table without having to edit your post or page. Change 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 the TablePress plugin, is that if you plan to keep adding new data to an existing table, just export your current table, then add new data, 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 a table, select TablePress > Export a Table in the main menu …

Creating And Adding Tables To WordPress Posts And Pages

In the “Export Tables” section, select 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 table file to your hard drive …

How To Add Tables In Posts And Pages In WordPress

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

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

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

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application, an HTML file, 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 write over an existing table.

Creating And Adding Tables In Posts And Pages In WordPress

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

How To Create And Insert Tables  In WordPress

As you can see, TablePress is quite a useful time saving plugin that is free and will help you easily create and embed tables into your WordPress posts and pages.

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

Disclaimer: This site has no direct association with WordPress, Automattic, or any products reviewed on this site. We may derive an affiliate commission of financial benefit from the sale of any services and products advertised, mentioned or linked to this website. All images are the copyright of their respective owners and comply with all license terms and agreements of use to the best of our knowledge.

***

Did you enjoy this tutorial? If so, please share this information using the social links below.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE detailed step-by-step tutorials that will teach you how to use WordPress to grow your business online at minimal cost with no coding skills required!

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