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 Adding Tables In WordPress

Being able to display tables on 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 is great, but there are some things that it doesn’t let you do by default, like being able to easily create tables.

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 not a feasible option.

Fortunately, WordPress plugins let you do almost anything you can imagine, 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.

Creating And Inserting Tables Into Pages And Posts With WordPress

Follow the tutorial below to learn how to add tables into your WordPress content using a FREE WordPress plugin called TablePress.

TablePress

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

TablePress is a very powerful and time-saving plugin that makes creating, editing and managing tables in your WordPress posts and pages a very simple and easy process.

TablePress does not require you to have any knowledge or skills coding HTML, CSS, etc. The plugin lets you easily edit your 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 site visitors. You can easily insert tables into your content using shortcodes and 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.

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

How To Use TablePress WordPress Plugin – Tutorial

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

Download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it from within your Dashboard …

How To Create And Add Tables To WordPress Posts And Pages

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

Creating And Adding Tables To WordPress

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

How To Easily Add Tables In WordPress Without Touching Code

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

How To Add Tables In WordPress

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

By default, the menu entry displays somewhere in the middle of your menu. If you plan to use this plugin a lot, then you can position the menu item closer to the top of your Dashboard menu by specifying “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

How To Add Tables To WordPress Content

The TablePress menu entry now appears closer towards the top area of the menu …

How To Create And Add Tables In WordPress Content

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

With TablePress, tables are created and modified inside the plugin area. Tables are then inserted via a shortcode into your posts. Your tables will then display when saving your post.

The advantage of doing this is that you can easily change the information inside your tables without having to touch your posts and pages. 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 Your Content  With No Coding Skills Required

Type in 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, and click on the Add Table button to create your new table. You can edit the name, description and size of any tables you create at anytime…

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

Once your new table is 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 allows you to easily insert tables anywhere inside a post or page by simply typing or copying and pasting the shortcode wherever you want your table to display …

How To Add Tables To WordPress Posts And Pages

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

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

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

After your new table has been created, you will see additional options for configuring your table.

For example, in the “Table Options” section you can select 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 rows when visitors hover their mouse over the table, print the table name and description above or below the table, and more …

Creating And Adding Tables In WordPress Posts And Pages

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

Adding Tables In Pages And Posts With WordPress

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

Creating And Adding Tables In WordPress Pages And Posts

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

How To Create And Add Tables  In WordPress

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

How To Add Tables Into Your Content Easily With WordPress

Remember to click the Save Changes button when finished to save your table information …

How To Add Tables  With WordPress

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

How To Add Tables In Posts And Pages With WordPress

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

How To Insert Tables Into Posts And Pages With WordPress

Using The TablePress Shortcode

You can embed a table into pages and blog posts using a shortcode.

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

Creating And Adding Tables To WordPress Pages And Posts

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 …

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

TablePress Menu Icon In WordPress Visual Editor Screen

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

How To Create And Add Tables Into Your Content With WordPress

TablePress Menu Icon In 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 into your post or page and click Insert Shortcode

Adding Tables In Posts And Pages In WordPress

Your TablePress shortcode will be inserted into your content …

How To Add Tables To WordPress Content

Publish the post or page to view your table and table contents …

How To Add Tables  In 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. Edit the content in the plugin area, then save your 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 data to an existing table, you can simply export your current table, then add new items, 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, click on TablePress > Export a Table in the admin menu …

How To Create And Insert Tables  With WordPress

In the “Export Tables” section, choose the table(s) you want 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 table file to your hard drive …

Inserting Tables Into Your Content Easily In WordPress

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

To import a table, select TablePress > Import a Table

Adding Tables To WordPress Content

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application, an HTML file, or its own format.

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

How To Easily Insert Tables Into WordPress Without Touching Code

For more information about the plugin, including accessing the plugin documentation for additional 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 Easily Create And Add Tables To Your Content

As you can see, TablePress is an extremely useful time saving free plugin will help you easily create and embed 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.