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

The ability to easily add tables to 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.

The WordPress visual editor is great, but there are some things that the default editor won’t do, such as giving you the option 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 can imagine on a WordPress site with plugins, and inserting tables into your content is no exception.

In this step-by-step 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 Insert Tables Into Your Content With WordPress

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

TablePress – WordPress Plugin

Adding Tables In WordPress Content

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 or skills coding HTML, CSS, etc. It provides a simple user interface that allows you to easily edit table data. You can add any kind of data, even formulas to your tables.

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

You can also import and export tables from/to CSV files (e.g. from Excel), HTML files, and JSON.

This 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 – Tutorial

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

Download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it directly from within your own Dashboard …

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

Once the plugin has been installed and activated, a new menu item will get added to your WordPress admin menu called TablePress

How To Insert Tables Into Pages And Posts In WordPress

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

How To Create And Add Tables To WordPress Pages And Posts

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

Inserting Tables  In WordPress

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

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

Adding Tables In WordPress Posts And Pages

The TablePress menu item will now show near the top section of your menu …

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

You can also play with other settings in the “Plugin Options” screen, like table formatting styles, default language, and so on. If you don’t need to modify this section, then just leave the default options.

With TablePress, tables are created and modified inside the plugin section. Tables are then added via a shortcode into your pages and posts. Your tables will then display or update when your content is published.

The advantage of working directly from the plugin is that you can easily change the information in your tables without having to open any of your pages. TablePress 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 Create And Add Tables Into Your Content In WordPress

Enter the name, a description (optional), 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 change the name, description and size of your table at anytime…

How To Easily Add Tables In Your Content Without Touching Code

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

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

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

Adding Tables In WordPress Pages And Posts

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

In the “Table Content” section, click inside the cell and either 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 …)

How To Add Tables In WordPress Posts And Pages

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 or the last row of the table to be the table footer, display alternate background colors on consecutive rows, highlight a row when a visitor hovers their mouse over the table, display the table name and description above or below the table, and more …

Creating And Adding Tables In Pages And Posts In WordPress

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

How To Easily Create And Insert Tables Into WordPress Without Touching Code

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

Creating And Inserting Tables Into Posts And Pages In WordPress

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

How To Create And Add Tables To WordPress  Without Programming Skills

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

How To Insert Tables  With WordPress

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

How To Create And Add Tables To WordPress Pages And Posts

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

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

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 your tables …

Adding Tables  With WordPress

Using The Shortcode To Insert Tables Into Your Pages And Blog Posts

You embed a table into pages and blog posts with a shortcode.

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

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

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 your table to appear then click the TablePress menu icon …

Adding Tables In WordPress Posts And Pages

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 Add Tables To WordPress Content

TablePress Menu Icon In HTML Editor Screen

Clicking on the menu icon displays a list of all your existing tables.

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

Creating And Adding Tables Into Your Content In WordPress

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

Adding Tables In Posts And Pages With WordPress

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

Inserting Tables Into Posts And Pages In WordPress

As stated earlier, one of the great things about this plugin is that you can change data after publishing the table without having to open 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 data to an existing table, just export your current table, then add new information, 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 main menu …

How To Add Tables In Your Content  Without Touching Code

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

Adding Tables In WordPress

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

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

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

TablePress can import tables from existing data, such as CSV file data, from a spreadsheet application, an HTML file, or its own format.

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

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

For more information about TablePress, including accessing 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 Add Tables In WordPress Pages And Posts  Without Touching Code

As you can see, TablePress is an extremely powerful and feature-rich free plugin will help you easily create and embed tables into your WordPress posts and pages.

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)