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 Into Your Content Easily With WordPress

Being able to display tables on your website can be really handy. Tables are great for sorting and presenting 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 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 many non-technical WordPress users, this is simply not a feasible option.

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

In this 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.

Adding Tables In WordPress Content

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

TablePress

How To Insert Tables  With WordPress

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

TablePress doesn’t require you to have any 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 add features like sorting, pagination, filtering, and more for your visitors. You can include the tables into your pages and blog posts using shortcodes and display tables 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 developed by Tobias Bäthge and is licensed as Free Software under GNU General Public License 2 (GPL 2).

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

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

Download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your Dashboard …

How To Add Tables To WordPress

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

How To Insert Tables Into WordPress Easily With No Coding Skills Required

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

How To Easily Insert Tables Into Your Content Without Touching Code

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

Creating And Inserting Tables Into Pages And Posts With WordPress

For example, in the “User Options” section, you can change 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 often, then you can easily position the menu option close to the top of your admin menu by specifying “Top-level (middle)” on the User Options > Admin menu entry dropdown menu …

How To Create And Insert Tables Into Your Content Easily With WordPress

The TablePress menu item will now display near the top area of your menu list …

Adding Tables Into Your Content In WordPress

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

With TablePress, tables are created and modified inside the plugin section. Tables are then inserted via a shortcode into your pages and posts. Your table will then display when publishing your content.

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

To add a new table select TablePress > Add New Table

Adding Tables In Posts And Pages With WordPress

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

Creating And Inserting Tables Into Posts And Pages With WordPress

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

Adding Tables In 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 to display a table …

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

Once a new table has been created, adding content to it is really 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 …)

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

Once your new table is created, displays additional options for configuring your table.

For example, in the “Table Options” area 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 a row when visitors hover their mouse over the table, show the table name and description above or below the table, and more …

Adding Tables In WordPress

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

How To Add Tables Into WordPress  Without Touching Code

You can also enable JavaScript library features in your tables that will allow 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 change the number of rows displayed), display table information, etc …

How To Create And Add Tables In WordPress Content

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

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

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

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

Click the Save Changes button when finished to update your table information …

Creating And Adding Tables In WordPress Content

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

How To Insert Tables Into WordPress Easily With No Programming Skills Required

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

How To Add Tables Into WordPress Pages And Posts Easily

How To Use The TablePress Shortcode To Insert Tables Into Your Page Content

You embed a table into pages and posts with the TablePress shortcode.

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

Inserting Tables Into Posts And Pages With 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 mouse cursor where you want your table to be embedded then click the TablePress menu icon …

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

TablePress Menu Icon In WordPress Visual Editor Screen

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

How To Add Tables In WordPress

TablePress Menu Icon In Text Editor Screen

Clicking on the menu icon displays a list of all the available tables you have created.

Select the table you want to embed into the content and click Insert Shortcode

How To Add Tables In Your Content

Your TablePress shortcode will be added to your content …

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

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 edit data 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 page 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 items, 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, click on TablePress > Export a Table in the admin menu …

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

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 file to your hard drive …

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

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

To import a table, go to your admin menu and choose TablePress > Import a Table

How To Create And Add Tables To WordPress Content

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” section. You can also import multiple tables from ZIP files and choose whether to import tables as a new table or write over an existing table.

How To Create And Add Tables Into Your Content Easily In WordPress

To learn more about using the plugin, including where to access the plugin documentation for 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 Easily Add Tables Into WordPress Pages And Posts Without Programming Skills

As you can see, TablePress is a very powerful and feature-rich plugin that is free and will help you easily create and add tables into your page 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)

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