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 …

Adding Tables Into Your Content Easily With WordPress

The ability to easily add tables to your website can be very useful. Tables help you sort and present data to people 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 doesn’t do by default, like being able to create tables without having to learn code.

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 users, this is simply not a practical option.

Fortunately, WordPress plugins let you do almost anything you can imagine, and adding tables to your content is no exception.

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

How To Insert Tables With WordPress

To add tables into your WordPress content without touching code, we’ll use a FREE plugin called TablePress.

WP Plugin – TablePress

How To Create And Add Tables In WordPress Content

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

TablePress requires no knowledge or skills coding HTML, CSS, etc. The plugin 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 site users. You can include the tables into your page content using shortcodes and display tables inside text widgets.

You can also import and export tables 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 posts or pages, install and activate the TablePress plugin.

Download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from within your own WP Dashboard …

How To Insert Tables  With WordPress

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

How To Easily Create And Add Tables In WordPress Pages And Posts With No Programming Skills Required

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

Creating And Inserting Tables  In WordPress

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

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

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

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

Creating And Inserting Tables Into Posts And Pages In WordPress

The TablePress menu entry now appears near the top section of the admin menu …

How To Create And Insert Tables  With WordPress

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

With TablePress, tables are created and formatted inside the plugin area. Tables are then placed via a shortcode into your content. Your table will then display after saving and publishing your post.

The advantage of doing this is that you can easily change the information in your tables without having to open any of your posts. The plugin then updates all of your table information inside all posts and pages where the table has been added to your content.

To add a new table select TablePress > Add New Table

Inserting Tables Into Posts And Pages With WordPress

Type in the table name, an optional description, and the number of rows and columns you want 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 any table you create at anytime…

How To Insert Tables Into Your Content

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

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

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

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

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

In the “Table Content” section, click inside the cell and 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 hyperlinks, etc …)

How To Add Tables In WordPress Content

After your new table has been created, you will see a number of additional options that will 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, 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 …

How To Create And Insert Tables Into Your Content Easily

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

How To Add Tables To WordPress Posts And Pages

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

How To Easily Create And Add Tables In Your Content Without Coding Skills

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

How To Create And Insert Tables Into WordPress Posts And Pages  With No Programming Skills Required

A preview window will open in your screen displaying the table. Certain features like JavaScript options are disabled in preview mode, but will display once your table is published …

Adding Tables In Pages And Posts With WordPress

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

How To Add Tables To WordPress Content

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

How To Create And Insert Tables  With WordPress

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

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

How To Use The Shortcode

You embed tables inside page content with the TablePress shortcode.

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

How To Add Tables  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 mouse cursor where you want the table to be embedded then click the TablePress menu icon …

Creating And Inserting Tables Into Your Content In WordPress

TablePress Menu Icon In Visual Editor Screen

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

Inserting Tables Into Pages And Posts In WordPress

TablePress Menu Icon In HTML Editor Screen

Clicking on the menu icon opens a window containing a list of your tables.

Select the table you want to insert into the post or page and click Insert Shortcode

How To Create And Add Tables In WordPress

Your TablePress shortcode will be added …

Creating And Inserting Tables Into Your Content Easily With WordPress

Publish your post or page to display the table contents …

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

As stated earlier, one of the great things about this plugin 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 the new table settings and refresh your page to view the updated information.

Another great time-saving feature of the TablePress plugin, is that if you plan to keep adding data to an existing table, you can simply export your current table, then add new data, 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, select TablePress > Export a Table in the admin menu …

How To Easily Create And Add Tables To Your Content With No Programming Skills Required

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

How To Add Tables In Pages And Posts With WordPress

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

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

How To Add Tables Into Your Content Easily With WordPress

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 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 a ZIP file and choose whether to import a table as a new table or to replace an existing table.

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

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

Creating And Inserting Tables Into Your Content Easily With WordPress

As you can see, TablePress is a very useful time saving 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)

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