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

Being able to easily add tables on your website can be really handy. Tables are great for sorting and presenting data to people in a format that can make your information easier to understand.

WordPress offers a great visual editor, but there are some things that it doesn’t 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 many non-technical WordPress users, this is simply not a practical option.

Fortunately, you can do just about anything you need done on a WordPress site with plugins, and inserting tables into your content is no exception.

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

How To Add Tables In WordPress

To add tables to your WordPress posts or pages with no coding skills required, we’ll use a FREE plugin called TablePress.

WP Plugin – TablePress

How To Insert Tables Into Pages And Posts With WordPress

TablePress is a great WordPress plugin for creating, editing and managing tables in WordPress.

TablePress does not require you to have any knowledge of HTML, CSS, etc. It lets you easily edit table data. You can add any type of data to your tables.

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

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

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

How To Use TablePress – Step-By-Step 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 Dashboard …

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

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

Creating And Adding Tables To WordPress

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

Creating And Adding Tables To WordPress Pages And Posts

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

Creating And Adding Tables To WordPress Pages And Posts

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

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

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

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

Creating And Inserting Tables Into Pages And Posts In WordPress

You can also specify other plugin options in the “Plugin Options” tab, such as 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 formatted within the plugin area. Tables are then added via a shortcode into your pages and posts. The tables will then display or update when publishing your content.

The advantage of working directly from the plugin is that you can easily change the data inside your tables without having to open any of your pages. TablePress then updates all of your table data everywhere 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  In WordPress

Enter a table 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, and click on the Add Table button to create your new table. You can edit the name, description and size of your tables at anytime…

How To Insert Tables Into Your Content Easily With WordPress

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

How To Create And Insert Tables  In WordPress

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

Adding Tables In WordPress Posts And Pages

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

In the “Table Content” section, just 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. bold or italicize words, insert links, etc …)

How To Create And Add Tables In Your Content  With No Programming Skills Required

After your new table has been created, the plugin also displays a number of additional options that will allow you to 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, make the background of consecutive rows alternate in colour, highlight rows when visitors hover their mouse over the table, print the table name and description above or below the table, and more …

How To Easily Create And Add Tables In WordPress Pages And Posts With No Coding Skills Required

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

Inserting Tables Into Pages And Posts With WordPress

You can also enable JavaScript library features in your tables that will allow site visitors to sort, filter and search your table content, change the number of table rows displayed on your posts (and also allow visitors to specify 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 on the Preview button …

Inserting Tables Into Posts And Pages In WordPress

A preview window will open in your screen 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  In WordPress

Remember to click the Save Changes button after you are done editing to save your table data …

How To Insert Tables  In WordPress

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

How To Add Tables  With WordPress

All the tables you have created are listed here. You can edit, see shortcodes, copy, export, delete and preview your tables …

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

Using The Shortcode To Insert Tables Into Your Posts And Pages

You can insert tables into your page content using the TablePress shortcode.

Get the shortcode for your tables by clicking on the Show Shortcode menu item under your table title to get the shortcode …

Inserting Tables  With WordPress

The plugin also adds a shortcode menu icon to your WordPress editor. This allows you to easily insert tables into your posts and pages while working on your content.

Place your mouse cursor where you want your table to be inserted then click the TablePress menu icon …

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

TablePress Menu Icon In Visual Editor Screen

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

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

TablePress Menu Icon In Text Editor Screen

Clicking on the menu icon opens a window containing a list of all your available tables.

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

How To Insert Tables  In WordPress

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

How To Add Tables In Pages And Posts With WordPress

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

How To Add Tables To 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. Just tweak the content in the plugin area, then save your new table settings and refresh your post 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 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 an existing table, select TablePress > Export a Table in your admin menu …

Adding Tables In WordPress

In the “Export Tables” section, select the table(s) you would like 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 …

Inserting Tables  With WordPress

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

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

How To Add Tables In Pages And Posts In WordPress

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

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

How To Easily Create And Insert Tables Into Your Content With No Programming Skills Required

For more information about TablePress, including accessing documentation about additional features, 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 WordPress Easily

As you can see, TablePress is a very useful time saving plugin that is free and will help you easily create and add tables into your WordPress posts and pages.

***

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