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 Easily Without Touching Code

Being able to display tables on your website can be very useful. Tables help you sort and present data to visitors in a way that makes your information easier to understand.

The WordPress visual editor is great, but there are some things that the default editor won’t let you do, such as letting you easily create tables.

Although you can create tables manually in WordPress if you know HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for many non-technical users, this is simply not a realistic option.

Fortunately, WordPress plugins let you do almost anything you can imagine, and creating tables is no exception.

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

How To Insert Tables With WordPress

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

TablePress – WP Plugin

How To Insert Tables  In WordPress

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

TablePress requires no knowledge or skills coding HTML, CSS, etc. The plugin lets you easily edit your table data. You can add any type of data, even formulas to tables.

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

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

Using TablePress Plugin For WP – Tutorial

To create and manage tables in WordPress with TablePress, install and activate the TablePress plugin.

Download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from your Dashboard …

How To Add Tables To WordPress Pages And Posts

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

Adding Tables In WordPress

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

How To Create And Insert Tables  In WordPress

The “Plugin Options” page affects the plugin’s behavior in different areas of your site …

How To Add Tables In Posts And Pages With WordPress

For example, in the “User Options” section, you can specify the position of the TablePress menu entry in your WP admin menu.

Normally, the menu item appears somewhere near the middle of your menu bar. If you plan to use this plugin often, then you can position the menu item close to the top of the admin menu by selecting “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

How To Insert Tables Into Pages And Posts With WordPress

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

Inserting Tables Into Posts And Pages With WordPress

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

With TablePress, you create and edit tables inside the plugin screen. Tables are then added via a shortcode into your posts. The tables will then display after your post or page is published or updated.

The benefit of working directly from the plugin is that you can easily modify the information in your tables without having to open any of your pages and 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 Easily Create And Add Tables Into WordPress

Enter a 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 table you create at anytime…

Adding Tables In WordPress Content

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

How To Insert Tables Into Your Content In WordPress

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

Inserting Tables  In WordPress

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

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

How To Add Tables In WordPress

Once your new table is created, displays a number of additional options that will allow you to 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, make the background of consecutive rows alternate in color, highlight rows when a visitor hovers their mouse over the table, print the table name and description above or below the table, and more …

Inserting Tables  In WordPress

You can also edit your table information after creating it in the “Table Manipulation” area. You can perform various table operations, like inserting links and images, hiding, showing, inserting, deleting and duplicating selected columns and rows, adding new columns and rows, combining cells, etc …

How To Create And Add Tables  In WordPress

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

How To Create And Insert Tables  With WordPress

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

How To Insert Tables Into WordPress Posts And Pages

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 table is published …

Creating And Adding Tables In Pages And Posts With WordPress

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

How To Insert Tables Into Your Content

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

How To Create And Add Tables Into Your Content In WordPress

All the tables you have created are displayed in this section. You can edit, see the shortcode, copy, export, delete and preview your tables …

Adding Tables In WordPress Pages And Posts

How To Use The TablePress Shortcode

You can insert tables into your content using a shortcode.

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

How To Create And Add Tables In Posts And Pages With 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 cursor where you want the table to be embedded then click the TablePress menu icon …

How To Create And Add Tables In WordPress Posts And Pages

TablePress Menu Icon In WordPress Visual Editor Screen

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

How To Create And Add Tables To WordPress Pages And Posts

TablePress Menu Icon In Text Editor Screen

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

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

How To Add Tables To WordPress  With No Programming Skills Required

Your TablePress shortcode will be added …

How To Create And Add Tables Into Your Content In WordPress

Publish your post or page to view the 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 edit information after publishing the table without having to open your post or page. Change 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, just export your current table, then add new data, 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 your main menu …

How To Add Tables Into Your Content Easily With No Coding Skills Required

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

Adding Tables To WordPress Posts And Pages

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

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

How To Create And Insert Tables Into WordPress Posts And Pages

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 JSON format.

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

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

To learn more about the plugin, including where to access documentation about extra features, 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 …

Adding Tables In Pages And Posts In WordPress

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

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

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