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 Easily Create And Add Tables To WordPress Pages And Posts

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

The WordPress visual editor offers many features, but there are some things that it won’t let you do by default, 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 most non-technical users, this is not a practical option.

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

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

How To Create And Insert Tables Into WordPress Without Touching Code

Follow the step-by-step tutorial below to learn how to easily add tables into your WordPress content using a FREE WordPress plugin called TablePress.

TablePress

How To Insert Tables Into WordPress Posts And Pages Easily

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

TablePress requires no knowledge of HTML, CSS, etc. It lets you easily edit your table data. You can add any type of data to your tables.

An additional JavaScript library can be used to include features like pagination, sorting, filtering, and more for your site visitors. You can easily insert tables into your posts and pages using shortcodes and display these 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 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 manage tables in WordPress with TablePress, first install and activate the TablePress plugin.

You can download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from within your WordPress Dashboard …

How To Insert Tables Into Your Content Easily In WordPress

After the plugin has been installed and activated, a new menu item will be added to your admin menu called TablePress

How To Insert Tables  In WordPress

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

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

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

Creating And Inserting Tables Into Pages And Posts 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 appears somewhere near the middle of your menu bar. If you plan to use this plugin a lot, then you can position the menu item close to the top of your admin menu by choosing “Top-level (middle)” on the User Options > Admin menu entry dropdown menu …

Creating And Inserting Tables Into Posts And Pages In WordPress

The TablePress menu item now shows at the top of your admin menu …

How To Create And Add Tables To WordPress Pages And Posts

You can also specify other options in the “Plugin Options” area, 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 section.

With TablePress, you create edit and format your tables within the plugin area. Tables are then added via a shortcode into your pages and posts. The tables will then display or update when saving your post.

The great thing about doing this is that you can easily change the data inside your tables without having to open any of 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

Creating And Adding Tables To WordPress Posts And Pages

Enter 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 edit the name, description and size of your tables at anytime…

Adding Tables To WordPress Pages And Posts

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

How To Add Tables Into Your Content Easily With WordPress

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

Creating And Inserting Tables Into Pages And Posts With WordPress

Once you have created a new table, adding content to it is very 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 HTML formatting to your content (e.g. add bold text, insert links, etc …)

Creating And Inserting Tables  In WordPress

Once your new table is created, you will see additional options for configuring 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, display alternate background colors on consecutive rows, highlight rows when a visitor hovers their mouse over the table, print the table name and description above or below the table, and more …

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

You can also modify your table after it has been created in the “Table Manipulation” subsection. You can perform various table edits, like adding links and images, hiding, showing, inserting, deleting and duplicating selected rows and columns, adding new rows and columns, combining cells, etc …

Creating And Adding Tables In Pages And Posts With WordPress

You can also enable JavaScript library features in your tables, such as allowing visitors to sort, filter and search your table content, set 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 Inserting Tables Into Your Content Easily In WordPress

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

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

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

How To Add Tables In Posts And Pages In WordPress

Remember to click the Save Changes button when finished to update your table information …

How To Insert Tables Into Your Content Easily Without Touching Code

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

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

All your tables are listed here. You can edit, see the shortcode, copy, delete, export and preview tables …

Adding Tables To WordPress Pages And Posts

Using The TablePress Shortcode To Insert Tables Into Your Content

You can embed tables inside any page content with a shortcode.

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

How To Create And Add Tables In Posts And Pages With 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 show then click the TablePress menu icon …

How To Create And Insert Tables Into Posts And Pages 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 …

Creating And Inserting Tables  With WordPress

TablePress Menu Icon In Text Editor Screen

Clicking on the menu icon brings up a list of all your tables.

Select the table you want to embed in the content and click Insert Shortcode

How To Add Tables Into Your Content With WordPress

Your TablePress shortcode will be added to your content …

Creating And Adding Tables To WordPress Content

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

Adding Tables Into Your Content In WordPress

As stated earlier, one of the great things about this plugin is that you can edit data after publishing the table without having to edit 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 data to an existing table, just export your current table, then add new items, 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, select TablePress > Export a Table in the admin menu …

How To Create And Insert Tables Into Your Content With 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 Create And Insert Tables  In WordPress

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

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

How To Add Tables To WordPress Posts And Pages

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application (e.g. Excel), an HTML file, or its own JSON format.

To import a table, select and enter the source in the “Import Tables” area. You can import multiple tables from compressed (ZIP) files and choose whether to import a table as a new table or replace an existing table.

Creating And Adding Tables In Pages And Posts With WordPress

To learn more about TablePress, including accessing documentation about extra features, 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

Creating And Adding Tables To WordPress Posts And Pages

As you can see, TablePress is quite a useful and feature-rich free plugin will help you easily create and embed 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