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

The ability to easily add tables to your pages 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 offers many great features, but there are some things that the default editor won’t let you do, such as letting you create tables without having to learn code.

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

Fortunately, WordPress plugins let you do almost anything you can imagine, and adding tables to your content with the click of a mouse is no exception.

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

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

To create and add tables to your WordPress posts or pages with no coding skills required, we’ll use a FREE plugin called TablePress.

TablePress

How To Insert Tables Into Posts And Pages With WordPress

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

TablePress requires no knowledge or skills coding HTML, CSS, etc. It provides a simple user interface that 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 sorting, pagination, filtering, and more for your visitors. You can insert tables into your page content using shortcodes and display these using text widgets.

You can also import and export a table from/to CSV files (e.g. from Excel), HTML files, and JSON.

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 WP – Tutorial

To create and add tables to WordPress posts or pages, first install and activate the TablePress plugin.

Download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from your WP Dashboard …

How To Insert Tables Into Posts And Pages In WordPress

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

Adding Tables To WordPress

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

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

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

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

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

By default, the menu item displays somewhere near the middle of your menu column. If you plan to use this plugin a lot, then you can easily position the menu item closer to the top of your menu by specifying “Top-level (middle)” in the User Options > Admin menu entry dropdown menu …

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

The TablePress menu item will now appear closer to the top of the admin menu …

Adding Tables To WordPress Posts And Pages

You can also specify other plugin options in the “Plugin Options” area, such as table formatting styles, default language, and so on. If you don’t need to modify this section, then just leave the options as the default.

With TablePress, tables are created and formatted inside the plugin section. Tables are then added via a shortcode into your WordPress posts and pages. Your table will then display when republishing or saving your content.

The benefit of working directly from the plugin is that you can easily change the information in your tables without having to manually edit your pages. The plugin then updates all of your table data inside all posts and pages where the table has been added to your content.

To create a new table select TablePress > Add New Table

How To Add Tables To WordPress Posts And Pages

Type in a table name, a description (optional), 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, then click on the Add Table button to create your new table. You can change the name, description and size of your tables at anytime…

How To Insert Tables Into Your Content Easily With No Programming Skills Required

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

Creating And Adding Tables In Posts And Pages In WordPress

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

How To Create And Add Tables Into Your Content

Once a new table has been created, 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 format your content (e.g. bold or italicize words, insert links, etc …)

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

After your new table has been created, additional options appear that let you configure 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, make the background of consecutive rows alternate in colour, highlight a row when visitors hover their mouse over the table, print the table name and description above or below the table, and more …

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

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

How To Add Tables To WordPress Posts And Pages

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 displayed on your pages (and let users specify the number of rows displayed), display table information, etc …

How To Add Tables In WordPress

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

How To Insert Tables Into Posts And Pages With WordPress

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

Creating And Inserting Tables Into Posts And Pages In WordPress

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

Creating And Adding Tables To WordPress Pages And Posts

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

How To Insert Tables Into Pages And Posts With WordPress

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

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

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

You embed a table inside page content with 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 …

Inserting Tables Into 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 your table to be inserted then click the TablePress menu icon …

Adding Tables To WordPress

TablePress Menu Icon In WordPress Visual Editor Screen

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

Creating And Adding Tables Into Your Content With WordPress

TablePress Menu Icon In HTML Editor Screen

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

Select the table you want to embed in the post or page and click Insert Shortcode

How To Insert Tables Into Pages And Posts In WordPress

Your TablePress shortcode will be added to your content …

Adding Tables To WordPress Posts And Pages

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

How To Add Tables In WordPress Posts And Pages

As stated earlier, one of the great things about TablePress is that you can change 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 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 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, click on TablePress > Export a Table in the admin menu …

Adding Tables In Posts And Pages In WordPress

In the “Export Tables” section, choose 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 file to your hard drive …

How To Add Tables In Pages And Posts With WordPress

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

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

How To Easily Create And Insert Tables Into 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.

To import a table, select and enter the import 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 Add Tables In Posts And Pages In WordPress

To learn more about using the plugin, including where to access documentation about extra 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 Add Tables Into Your Content In WordPress

As you can see, TablePress is quite a powerful time saving plugin that is free and will help you easily create and embed tables into your WordPress posts and pages.

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

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