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 WordPress

Being able to easily add tables on your website can be really handy. 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 it doesn’t let you 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 WordPress users, this is not a feasible option.

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

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

How To Create And Add Tables In WordPress Pages And Posts

To add tables to your WordPress posts or pages with no HTML or CSS knowledge required, we’ll use a FREE plugin called TablePress.

TablePress

Adding Tables In Pages And Posts In WordPress

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

TablePress doesn’t require you to have any knowledge of HTML, CSS, etc. It lets you easily edit table data. Tables can contain any kind of data, even formulas.

An additional JavaScript library can be used to add features like pagination, sorting, filtering, and more for visitors. You can easily insert tables into your posts and pages using shortcodes and display tables using text widgets.

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

The plugin was created 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 – Step-By-Step Tutorial

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

You can download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it from within your own WP Dashboard …

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

After installing and activating the plugin, you will see a new menu item in your main menu called TablePress

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

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

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

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

How To Create And Add Tables Into WordPress Posts And Pages  Without Programming Skills

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

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

Creating And Adding Tables To WordPress

The TablePress menu item now shows closer to the top section of the menu list …

Creating And Adding Tables To WordPress Pages And Posts

You can also play with other settings in the “Plugin Options” area, like 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 and edit tables within the plugin section. Tables are then inserted via a shortcode into your posts. Your table will then display after republishing or saving your page.

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

To create a new table select TablePress > Add New Table

Inserting Tables Into Posts And Pages With WordPress

Type in the name, a description (optional), 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 your table at anytime…

How To Easily Insert Tables Into 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 In WordPress Pages And Posts

The TablePress shortcode lets you easily insert tables anywhere in your content simply by typing or copying and pasting the shortcode wherever you want to display your table …

Creating And Adding Tables  In WordPress

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

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

How To Easily Create And Insert Tables Into WordPress

After your new table has been created, you will see 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 colour, highlight a row 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” section. You can add images or links, hide, show, insert, delete and clone selected rows and columns, add new columns and rows, combine cells, etc …

How To Insert Tables Into Pages And Posts In WordPress

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

How To Insert Tables Into Your Content Easily With WordPress

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

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

A preview window will open allowing you to preview your table. Certain features such as the JavaScript options are disabled in preview mode, but will display when your table is published …

Creating And Inserting Tables Into Posts And Pages With WordPress

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

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

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

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

All the tables you have created are listed here. You can edit, see shortcodes, copy, delete, export and preview tables …

Adding Tables Into Your Content Easily With WordPress

How To Use The Shortcode To Embed Tables Into Your Pages And Posts

You insert a table into page content with a shortcode.

Click on the Show Shortcode menu item under 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 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 your table to be inserted then click the TablePress menu icon …

Creating And Adding Tables In Posts And Pages With WordPress

TablePress Menu Icon In 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 Posts And Pages

TablePress Menu Icon In HTML Editor Screen

Clicking on the menu icon displays a list of all the available tables you have created.

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

How To Easily Insert Tables Into WordPress

Your TablePress shortcode will be inserted into your content …

Creating And Inserting Tables Into Posts And Pages In WordPress

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

How To Create And Add Tables In WordPress Posts And Pages  Without Programming Skills

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

Another great time-saving feature of this plugin, is that if you plan to keep adding data to an existing table, just 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 …

Creating And Inserting Tables  In WordPress

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

How To Add Tables In WordPress Posts And Pages

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, select TablePress > Import a Table

How To Create And Add Tables  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.

To import a table, select and enter the import source in the “Import Tables” section. 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.

Inserting Tables Into Posts And Pages In WordPress

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

How To Insert Tables Into Your Content In WordPress

As you can see, TablePress is an extremely useful time saving free plugin will help you easily create and embed tables into your page content.

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum