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

The ability to easily add tables to your content 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 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 know HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for most non-technical WordPress users, this is not a realistic option.

Fortunately, you can do almost anything you need done on a WordPress site with plugins, and adding tables to your content is no exception.

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

How To Create And Insert Tables Into WordPress

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

TablePress

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

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

TablePress requires no knowledge of HTML, CSS, etc. It lets you easily edit your table data. Tables can contain any type of data, even formulas.

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

A table can also be imported and exported from/to CSV files (e.g. from Excel), HTML files, and JSON formats.

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

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

To create and add tables to WordPress posts and pages, install and activate the TablePress plugin.

Download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your own Dashboard …

Inserting Tables Into Pages And Posts In WordPress

Once the plugin has been installed and activated, a new menu item will be added to your WordPress admin menu called TablePress

How To Add Tables  With WordPress

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

How To Insert Tables Into Pages And Posts In WordPress

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

Creating And Adding Tables To WordPress Content

For example, in the “User Options” section, you can modify the position of the TablePress menu entry in your admin menu.

By default, the menu item appears 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 Create And Add Tables To WordPress Content

The TablePress menu item will now display towards the top section of your admin menu …

How To Create And Add Tables In WordPress Pages And Posts

You can also play with other options in the “Plugin Options” section, like table formatting styles, default language, etc. If you don’t need to modify this section, then just leave the options as the default.

With TablePress, you create and edit tables inside the plugin section. Tables are then added via a shortcode into your posts. The table will then display or update when saving your pages or posts.

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

To create a new table select TablePress > Add New Table

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

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

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

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

Creating And Inserting Tables Into Posts And Pages In WordPress

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

How To Add Tables Into Your Content In WordPress

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

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

How To Create And Add Tables In WordPress

After your new table has been created, additional options appear that let you configure 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, display alternate background colors on consecutive rows, highlight a row when a visitor hovers their mouse over the table, display the table name and description above or below the table, and more …

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

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

Inserting Tables  In WordPress

You can also enable JavaScript library features in your tables, such as allowing your visitors to sort, filter and search your table content, change the number of table rows displayed on your page (and let users change the number of rows displayed), display table information, etc …

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

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

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

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

Creating And Adding Tables In WordPress Posts And Pages

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

How To Add Tables In WordPress

To view a list of all your tables TablePress > All Tables

Creating And Adding Tables In WordPress Posts And Pages

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

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

How To Use The Shortcode To Insert Tables Into Your Pages And Posts

You can embed a table 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 your table title to get the shortcode …

How To Create And Add Tables In Posts And Pages In 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 cursor where you want your table to show then click the TablePress menu icon …

Creating And Adding Tables To WordPress

TablePress Menu Icon In Visual Editor Screen

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

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

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 the content and click Insert Shortcode

Adding Tables In WordPress Posts And Pages

Your TablePress shortcode will be inserted into your content …

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

Publish the post or page to view your table contents …

How To Create And Add Tables In WordPress Pages And Posts

As stated earlier, one of the great things about this plugin is that you can change data 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 this plugin, is that if you plan to keep adding more data to an existing table, you can simply 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 an existing table, select TablePress > Export a Table in the main menu …

Adding Tables In Pages And Posts In WordPress

In the “Export Tables” section, select the table(s) you would like 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 Into WordPress Posts And Pages Easily With No Coding Skills Required

After editing and resaving your table file, you can then easily 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 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 format.

To import a table, select and enter the import source in the “Import Tables” section. You can also import multiple tables from a ZIP file and select whether to import a table as a new table or write over an existing table.

How To Add Tables To WordPress

To learn more about TablePress, including where to access the plugin documentation for 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

Adding Tables In Posts And Pages In WordPress

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

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

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