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 Posts And Pages In WordPress

The ability to easily add tables to your pages 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 offers many great features, but there are some things that it doesn’t do by default, such as letting you easily create tables.

Although you can create tables manually in WordPress if you have knowledge of HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for most non-technical users, this is not a practical 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 tutorial you will learn how to easily create and add tables into your content with no coding skills required.

How To Create And Add Tables In WordPress

If you want to create and add tables to your WordPress posts or pages and don’t have the skills to create tables using HTML or CSS, then the tutorial below will show you how to easily do this using a FREE WordPress plugin called TablePress.

TablePress

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

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

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

An additional JavaScript library can be used to include features like pagination, sorting, filtering, and more for site users. You can insert tables into your page content using shortcodes and display tables using text widgets.

A table can also be imported and exported 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).

Using TablePress Plugin For WordPress – Tutorial

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

You can download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from your WP Dashboard …

Creating And Inserting Tables  With WordPress

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

How To Create And Add Tables In WordPress

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

Adding Tables  In WordPress

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

How To Add Tables To WordPress

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

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

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

The TablePress menu entry will now show closer towards the top area of the menu list …

How To Add Tables To WordPress Posts And Pages

You can also specify other settings in the “Plugin Options” tab, like formatting styles for your tables, default language, and so on. Leave all 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 inserted via a shortcode into your WordPress posts and pages. The tables will then display when your content is saved.

The advantage of doing this is that you can easily update the data in your tables without having to manually edit your posts. The plugin then updates all of your table information in all locations where the table has been added to your content.

To create a new table select TablePress > Add New Table

How To Insert Tables Into Pages And Posts With WordPress

Type in a 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, then 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…

Inserting Tables Into Your Content In WordPress

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

How To Add Tables In WordPress Content

The TablePress shortcode allows you to easily add tables anywhere in your content simply by inserting or copying and pasting the shortcode wherever you want to display your table …

How To Add Tables  With WordPress

Once a new table has been created, adding content to the table is really 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. add bold text, insert links, etc …)

Adding Tables In WordPress Content

Once your new table is created, additional options appear that let you configure 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, display alternate background colors on consecutive rows, highlight a row when visitors hover their mouse over the table, display the table name and description above or below the table, and more …

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

You can also modify your table information after creating it in the “Table Manipulation” area. 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 Create And Insert Tables  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, set the number of table rows showing on your post (and let visitors specify the number of rows displayed), display table information, etc …

How To Insert Tables  With WordPress

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

How To Add Tables In 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 once your table is published …

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

Click the Save Changes button when finished to update your new table data …

How To Add Tables In Pages And Posts In WordPress

To view a list of all your tables TablePress > All Tables

Creating And Adding Tables To WordPress Pages And Posts

All your tables are displayed in a list. You can edit, see the shortcode, copy, delete, export and preview tables …

How To Create And Add Tables In WordPress Content

Using The Shortcode

You can embed a table inside pages and posts with a shortcode.

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

How To Easily Add Tables Into Your Content Without Programming Skills

The plugin also adds a menu item 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 the table to be embedded then click the TablePress menu icon …

Inserting Tables Into Posts And Pages With WordPress

TablePress Menu Icon In Visual Editor Screen

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

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

TablePress Menu Icon In WordPress Text Editor Screen

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

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

How To Add Tables In Pages And Posts With WordPress

Your TablePress shortcode will be placed in the location you specified …

How To Insert Tables Into Posts And Pages In WordPress

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

How To Insert Tables  With WordPress

As stated earlier, one of the great things about this plugin is that you can edit the contents of your table after publishing the table without having to open your post or page. Tweak the content in the plugin area, then save the new table settings and refresh your page 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 items, 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 main menu …

Creating And Adding Tables In Pages And Posts In WordPress

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

Inserting Tables Into Posts And Pages With WordPress

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

To import a table, select TablePress > Import a Table

Inserting Tables Into Pages And Posts With WordPress

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application, an HTML file, or its own format. You can also import existing tables from the WP-Table Reloaded plugin

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

How To Create And Add Tables In WordPress Pages And Posts

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

Creating And Inserting Tables Into Your Content In WordPress

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

***

"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.