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

The ability to easily add tables to your pages can be really handy. Tables are great for sorting and presenting data to visitors in a format that can make your information easier to understand.

WordPress provides users with a feature-rich visual editor, but there are some things that it won’t let you do by default, such as giving you the option to create tables without having to learn code.

Although you can add tables manually to your content in WordPress if you have knowledge of HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for most non-technical users, this is simply not a feasible option.

Fortunately, WordPress plugins give users almost unlimited expansion capabilities, and creating tables is no exception.

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

Adding Tables Into Your Content With WordPress

Follow the step-by-step tutorial below to learn how to add tables in WordPress using a FREE WordPress plugin called TablePress.

TablePress

Creating And Adding Tables To WordPress Posts And Pages

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

TablePress requires no knowledge of HTML, CSS, etc. It lets you easily edit table data. Your tables can contain any kind of data, even formulas.

An additional JavaScript library can be used to add features like sorting, pagination, filtering, and more for your site visitors. You can easily include the tables into your pages and blog posts using shortcodes and even 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 formats.

The 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 Plugin For WordPress – Tutorial

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

Download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from within your Dashboard …

How To Create And Add Tables To WordPress

After the plugin has been installed and activated, you will see a new menu item in your Dashboard menu called TablePress

How To Add Tables To WordPress

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

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

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

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

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 entry displays somewhere near the middle of your menu. If you plan to use this plugin often, then you can easily position the menu item near the top of the menu by selecting “Top-level (middle)” on the User Options > Admin menu entry dropdown menu …

How To Easily Add Tables Into Your Content Without Coding Skills

The TablePress menu item will now appear at the top of the menu …

How To Easily Insert Tables Into WordPress

You can also play with other settings in the “Plugin Options” area, like table formatting styles, default language, etc. If you don’t need to change these settings, simply leave the default options.

With TablePress, you create edit and format your tables inside the plugin screen. Tables are then placed via a shortcode into your content. Your table will then display or update when your content is published.

The advantage of working directly from the plugin is that you can easily modify the information inside your tables without having to touch your posts. The plugin then updates all of your table data in all locations where the table has been added to your content.

To create a new table select TablePress > Add New Table

How To Create And Insert Tables Into Your Content Easily

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

Creating And Adding Tables Into Your Content Easily In WordPress

Once your new table is created, it will display in the “All Tables” list and get 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 by simply inserting or copying and pasting the shortcode wherever you want to display a table …

Adding Tables In WordPress Posts And Pages

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

In the “Table Content” section, just click inside the cell and type or paste your content. You can add text, images and format your content (e.g. add bold text, insert links, etc …)

Adding Tables In Pages And Posts With WordPress

Once your new table is created, displays 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, make the background of consecutive rows alternate in colour, 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 Add Tables Into Your Content With WordPress

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

Inserting Tables Into Your Content In WordPress

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

How To Easily Add Tables Into Your Content

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

How To Insert Tables Into Pages And Posts In WordPress

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

How To Add Tables In Pages And Posts In WordPress

Click the Save Changes button after you are done editing to update your table data …

Creating And Adding Tables In WordPress Content

To view a list of all the tables you have created choose TablePress > All Tables

How To Easily Insert Tables Into WordPress Without Programming Skills

Your tables are displayed in a list. You can edit, see shortcodes, copy, export, delete and preview your tables …

How To Add Tables In WordPress Posts And Pages

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

You insert tables into your posts and pages 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 …

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 be embedded then click the TablePress menu icon …

How To Add Tables  With WordPress

TablePress Menu Icon In WordPress Visual Editor Screen

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

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

TablePress Menu Icon In WordPress HTML Editor Screen

Clicking on the menu icon brings up a list of your existing tables.

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

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

Your TablePress shortcode will be added to your content …

Creating And Adding Tables Into Your Content In WordPress

Your table contents will display as soon as you publish your post or page …

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

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

Another great time-saving feature of the TablePress plugin, is that if you plan to keep adding new 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 WP admin menu …

Creating And Adding Tables To WordPress Content

In the “Export Tables” section, select 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 …

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

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

To import a table into WordPress, select TablePress > Import a Table

Adding Tables Into Your Content With WordPress

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application, an HTML file, or its own JSON 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 also import multiple tables from compressed (ZIP) files and select whether to import tables as a new table or replace an existing table.

How To Insert Tables Into Your Content Easily In WordPress

To learn more about the plugin, including accessing documentation about additional features, or get technical support for the plugin, contact the plugin developer, etc., click on the “About Tab” in the plugin admin section, or select TablePress > About TablePress

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

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

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