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 Create And Insert Tables Into Your Content

Being able to display tables on your website can be really handy. Tables are great for sorting and presenting data to people in a way that makes your information easier to understand.

WordPress provides users with a great visual editor, but there are some things that the default editor won’t do, like being able to 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 WordPress users, this is not a practical option.

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

In this 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.

How To Add Tables To WordPress Pages And Posts

Follow the tutorial below to learn how to create and add tables in WordPress using a FREE WordPress plugin called TablePress.

WordPress Plugin – TablePress

Inserting Tables  With WordPress

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

TablePress requires no knowledge of HTML, CSS, etc. The plugin provides a simple interface that allows you to easily edit table data. You can add any kind of data to your tables.

An additional JavaScript library can be used to include features like sorting, pagination, filtering, and more for site users. You can include the tables into your post content using shortcodes and even 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.

The plugin was created by Tobias Bäthge and is licensed as Free Software under GNU General Public License 2 (GPL 2).

Using TablePress – Tutorial

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

You can download this plugin here:

https://wordpress.org/plugins/tablepress

Or install it from your own Dashboard …

How To Create And Add Tables In Your Content Easily Without Touching Code

After the plugin has been installed and activated, you will see a new menu item displayed in your admin menu called TablePress

How To Easily Add Tables In WordPress Pages And Posts Without Touching Code

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

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

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

How To Create And Add Tables Into Your Content Easily In WordPress

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

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

How To Create And Insert Tables Into WordPress Pages And Posts

The TablePress menu entry will now display towards the top area of the menu …

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

You can also specify other options in the “Plugin Options” section, like table formatting styles, default language, etc. If you don’t need to modify this section, then just leave the default options.

With TablePress, you create and edit your tables within the plugin section. Tables are then inserted via a shortcode into your pages. The tables will then display after saving your page.

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

To add a new table select TablePress > Add New Table

How To Add Tables To WordPress Posts And Pages

Type in the name, a description (optional), and the number of rows and columns you want for the 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 table at anytime…

How To Insert Tables Into Your Content With WordPress

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

Adding Tables  With WordPress

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

How To Create And Add Tables To WordPress Posts And Pages

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

In the “Table Content” section, just click in 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 links, etc …)

How To Add Tables To WordPress Pages And Posts

After your new table has been created, displays a number of additional options that will allow you to 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, 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 Add Tables Into Your Content Easily

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

Creating And Adding Tables To WordPress Posts And Pages

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 displayed on your content (and also allow visitors to specify the number of rows displayed), display table information, etc …

How To Add Tables To WordPress Content

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

Adding Tables Into Your Content In WordPress

A preview window will open on your web browser allowing you to preview your table. Certain features such as the JavaScript options are disabled in preview mode, but will display once your post or page is published …

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

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

How To Create And Add Tables In WordPress Posts And Pages

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

How To Add Tables In Pages And Posts With WordPress

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

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

Using The TablePress Shortcode To Embed Tables Into Your Posts And Pages

You can embed a table inside any pages and blog posts with the TablePress shortcode.

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

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

The plugin also adds a menu item 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 …

How To Easily Add Tables In WordPress With No Programming Skills Required

TablePress Menu Icon In Visual Editor Screen

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

Adding Tables In WordPress Posts And Pages

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

How To Insert Tables  In WordPress

Your TablePress shortcode will be inserted into your content …

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

Publish the post or page to view your table …

How To Easily Add Tables In WordPress Pages And Posts

As stated earlier, one of the great things about TablePress is that you can edit the contents of your table after publishing the table without having to edit your post or page. Just tweak 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 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 table 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 your main menu …

Adding Tables To WordPress Content

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 table file to your hard drive …

Adding Tables In WordPress Pages And Posts

After making changes and resaving your table file, you can then easily reimport the table into WordPress.

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

How To Add Tables To 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. 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 import multiple tables from a ZIP file and choose whether to import a table as a new table or write over an existing table.

How To Add Tables In Posts And Pages In WordPress

For more information about TablePress, including accessing documentation about extra features, get plugin 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 Pages And Posts With WordPress

As you can see, TablePress is an extremely powerful and feature-rich plugin that is free and will help you easily create and insert tables into your site content.

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

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