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

Being able to easily add tables on your website can be really handy. Tables help you sort and present data to visitors in a format that can make your information easier to understand.

The WordPress visual editor offers many features, but there are some things that the default editor doesn’t 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 many non-technical users, this is simply not a feasible option.

Fortunately, you can do just about anything you need done on a WordPress site with plugins, and creating tables is no exception.

In this tutorial you will learn how to create and insert tables easily into your pages and blog posts with no coding skills required.

Inserting Tables Into Your Content In WordPress

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

WP Plugin – TablePress

How To Easily Create And Add Tables To WordPress

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

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 table data. Your tables can contain any kind of data, even formulas.

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 posts and pages using shortcodes and even display tables using text widgets.

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

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

Using TablePress – Tutorial

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

You can download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your own WP Dashboard …

Adding Tables To WordPress Pages And Posts

After the plugin has been installed and activated, a new menu item will get added to your main menu called TablePress

Inserting Tables Into Posts And Pages In WordPress

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

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

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

Inserting Tables Into Your Content With WordPress

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

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

Inserting Tables Into Pages And Posts In WordPress

The TablePress menu item now displays closer to the top section of your menu list …

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

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

With TablePress, you create edit and format your tables within the plugin area. Tables are then added via a shortcode into your posts. The table will then display after your content is saved.

The great thing about working directly from the plugin is that you can easily modify the data inside your tables without having to touch your posts and pages. The plugin then updates all of your table data inside all posts and pages 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 the name, a description (optional), and the number of rows and columns you want 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…

Adding Tables In WordPress

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

How To Add Tables To WordPress Content

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

Inserting Tables Into Your Content In WordPress

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

In the “Table Content” section, 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. bold or italicize words, insert links, etc …)

Adding Tables To WordPress Pages And Posts

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 and the last row of the table to be the table footer, display alternate background colours on consecutive rows, highlight rows when a visitor hovers their mouse over the table, display the table name and description above or below the table, and more …

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

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

How To Add Tables To WordPress

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

Inserting Tables Into Posts And Pages In WordPress

You can preview your table anytime, by clicking the Preview button …

How To Add Tables In Posts And Pages With WordPress

A preview window will open in your screen displaying 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 Content

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

Adding Tables To WordPress

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

Adding Tables In WordPress Content

All the tables you have created are listed here. You can edit, see shortcodes, copy, export, delete and preview tables …

How To Add Tables To WordPress

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

You embed tables inside any page content using a 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 …

Creating And Adding Tables In Posts And Pages In WordPress

The plugin also adds a shortcode menu icon to your WordPress 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 embedded then click the TablePress menu icon …

Adding Tables In Posts And Pages With WordPress

TablePress Menu Icon In Visual Editor Screen

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

How To Add Tables To WordPress Posts And Pages

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

Creating And Inserting Tables Into Posts And Pages In WordPress

Your TablePress shortcode will be inserted into your content …

Creating And Adding Tables To WordPress Content

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

How To Add Tables In WordPress Content

As stated earlier, one of the great things about this plugin is that you can edit the contents of your table after publishing the table without having to edit your post or page. Just tweak the content in the plugin area, then save your new table settings and refresh your page 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, just 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 an existing table, select TablePress > Export a Table in the main menu …

How To Insert Tables  With WordPress

In the “Export Tables” section, choose the table(s) 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 Create And Add Tables In WordPress Pages And Posts

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

To import a table, select TablePress > Import a Table

How To Insert Tables Into 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 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.

How To Insert Tables  In WordPress

For more information about the plugin, including accessing the plugin documentation for additional features, 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 Add Tables To WordPress Posts And Pages

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

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)