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

Being able to easily add tables on your content can be very useful. Tables help you sort and present data to visitors in a format that can make 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, 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 users, this is not a realistic option.

Fortunately, you can do almost anything you can imagine on a WordPress site with plugins, and inserting tables into your content is no exception.

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

Creating And Adding Tables To WordPress Content

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

TablePress

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

TablePress is a great 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 lets you easily edit table data. You can add any type of data to your tables.

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 post content using shortcodes and even display tables inside text widgets.

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

TablePress 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 with TablePress, first install and activate the TablePress plugin.

You can download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your own Dashboard …

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

Once you have installed and activated the plugin, a new menu item will appear on your WP admin menu called TablePress

How To Insert Tables Into Posts And Pages With WordPress

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

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

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

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

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

Normally, the menu entry displays around the middle of your menu bar. If you plan to use this plugin a lot, then you can easily position the menu option closer to the top of your admin menu by selecting “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

How To Create And Add Tables To WordPress

The TablePress menu entry will now appear closer towards the top of the menu list …

How To Insert Tables Into WordPress  Without Touching Code

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

With TablePress, you create edit and format your tables within the plugin screen. Tables are then inserted via a shortcode into your text. The tables will then display or update after your post or page is republished.

The benefit of working directly from the plugin is that you can easily update the data inside your tables without having to manually edit your posts. TablePress 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

Creating And Adding Tables  With WordPress

Enter the table name, an optional description, 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 any tables you create at anytime…

How To Add Tables In WordPress Posts And Pages

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

Creating And Adding Tables  With WordPress

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

How To Add Tables In WordPress Posts And Pages

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

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

Adding Tables In Posts And Pages In WordPress

Once your new table is 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 colours 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 To WordPress Posts And Pages

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

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

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

Creating And Adding Tables To WordPress Content

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

How To Insert Tables Into Your Content In WordPress

A preview window will open 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 …

Adding Tables In Posts And Pages With WordPress

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

Adding Tables In Pages And Posts In WordPress

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 Add Tables To WordPress Posts And Pages

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

Adding Tables In Pages And Posts With WordPress

Using The Shortcode

You can embed tables into page content with the TablePress shortcode.

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

How To Create And Insert Tables  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 cursor where you want the table to be inserted then click the TablePress menu icon …

Creating And Adding Tables  With WordPress

TablePress Menu Icon In Visual Editor Screen

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

How To Insert Tables  In WordPress

TablePress Menu Icon In WordPress HTML Editor Screen

Clicking on the menu icon displays a list of your available tables.

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

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

Your TablePress shortcode will be inserted into your content …

Creating And Adding Tables To WordPress Pages And Posts

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

How To Create And Add Tables  In WordPress

As stated earlier, one of the great things about TablePress is that you can change things after publishing the table without having to edit your post or page. Just tweak the content in the plugin area, then save the new table settings and refresh your content to view the updated information.

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 information, 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 your admin menu …

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

In the “Export Tables” section, select the table(s) you want 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 …

Creating And Adding Tables To WordPress Posts And Pages

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

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

How To Create And Add Tables To WordPress Pages And Posts

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

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

Inserting Tables  In WordPress

For more information about the plugin, including accessing the plugin documentation for additional features, 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 Create And Insert Tables Into Your Content  Without Touching Code

As you can see, TablePress is a very powerful and feature-rich plugin that is free and will help you easily create and embed tables into your WordPress posts and pages.

***

"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)