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 Your Content With WordPress

The ability to easily add tables to your content can be very useful. Tables help you sort and present data to people in a format that can make your information easier to understand.

The WordPress visual editor offers many great features, but there are some things that it doesn’t let you do by default, such as letting you easily create tables.

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 not a feasible option.

Fortunately, you can do almost anything you need done on a WordPress site with plugins, and adding tables is no exception.

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

Adding Tables To WordPress Pages And Posts

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

TablePress

How To Add Tables In Posts And Pages With WordPress

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

TablePress requires no knowledge or skills coding HTML, CSS, etc. The plugin provides a simple user interface that lets you easily edit your table data. 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 insert tables into your post content using shortcodes and even display tables inside 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 written and developed by Tobias Bäthge and is licensed as Free Software under GNU General Public License 2 (GPL 2).

Using TablePress WP Plugin – Tutorial

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

You can download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your WP Dashboard …

Inserting Tables  With WordPress

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

How To Create And Insert Tables  In WordPress

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

Inserting Tables Into Pages And Posts With WordPress

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

Creating And Adding Tables In Posts And Pages With WordPress

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

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

How To Easily Create And Insert Tables Into WordPress

The TablePress menu item will now show near the top area of the menu list …

Adding Tables In Posts And Pages With WordPress

You can also play with other options in the “Plugin Options” section, such as formatting styles for your tables, default language, etc. If you don’t need to modify this section, just leave the default options.

With TablePress, you create and edit your tables inside the plugin section. Tables are then placed via a shortcode into your posts. The table will then display or update when your post or page is republished.

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

To add a new table select TablePress > Add New Table

How To Create And Add Tables  With WordPress

Type in the table name, an optional description, 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, 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…

How To Add Tables In WordPress Content

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

Inserting Tables  In WordPress

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

Creating And Adding Tables Into Your Content Easily With WordPress

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

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

Adding Tables To WordPress Content

After your new table has been created, additional options appear that let you configure your table.

For example, in the “Table Options” section you can specify the first row of your table to be the table header or the last row of the table to be the table footer, make the background of consecutive rows alternate in colour, highlight rows when a visitor hovers their mouse over the table, display the table name and description above or below the table, and more …

How To Create And Insert Tables Into Your Content

You can also modify your table content after it has been created in the “Table Manipulation” area. You can perform a number of edits on your table, like inserting links or images, hiding, showing, inserting, deleting and duplicating selected rows and columns, adding new rows and columns, 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, change the number of table rows showing on your page (and also allow users to change the number of rows displayed), display table information, etc …

Creating And Adding Tables  With WordPress

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

How To Add Tables Into WordPress  Without Touching Code

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

How To Create And Add Tables To WordPress Pages And Posts

Click the Save Changes button after you are done editing to save your new table information …

How To Insert Tables Into Your Content In WordPress

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

How To Create And Insert Tables  In WordPress

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

Inserting Tables Into Pages And Posts In WordPress

Using The TablePress Shortcode

You insert tables into page content using a shortcode.

Get the shortcode for your tables by clicking on the Show Shortcode menu item below your 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 cursor where you want the table to appear then click the TablePress menu icon …

Adding Tables In Pages And Posts In WordPress

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 Insert Tables Into WordPress Pages And Posts  With No Programming Skills Required

TablePress Menu Icon In WordPress 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 your content and click Insert Shortcode

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

Your TablePress shortcode will be inserted …

Adding Tables In WordPress Posts And Pages

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

How To Create And Add Tables Into WordPress Posts And Pages

As stated earlier, one of the great things about TablePress is that you can edit data after publishing the table without having to edit your post or page. Just tweak the content in the plugin area, then save your new table settings and refresh your content 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 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 an existing table, select TablePress > Export a Table in your WP admin menu …

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

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

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

How To Insert Tables  In WordPress

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 source in the “Import Tables” area. You can also import multiple tables from compressed (ZIP) files and choose whether to import a table as a new table or write over an existing table.

How To Create And Insert Tables  In WordPress

For more information about using TablePress, including where to access the plugin documentation for extra features, or get technical support for the plugin, contact the plugin author, etc., click on the “About Tab” in the plugin admin section, or select TablePress > About TablePress

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

***

"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya