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 Adding Tables In Pages And Posts In WordPress

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.

WordPress provides users with a feature-rich visual editor, but there are some things that the default editor won’t let you do, such as giving you the option to easily create tables.

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

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

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

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

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

TablePress

How To Add Tables In Pages And Posts With WordPress

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

TablePress requires no knowledge of HTML, CSS, etc. It lets you easily edit table data. Tables can contain any type of data, even formulas.

An additional JavaScript library can be used to add features like pagination, sorting, filtering, and more for your site visitors. You can include the tables into your pages and blog posts using shortcodes and 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.

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 with TablePress, first install and activate the TablePress plugin.

You can download the plugin here:

https://wordpress.org/plugins/tablepress

Or install it from within your Dashboard …

How To Add Tables In Pages And Posts With WordPress

Once you have installed and activated the plugin, a new menu item will get added to your Dashboard menu called TablePress

How To Add Tables Into Your Content In WordPress

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

Creating And Adding Tables In Posts And Pages In WordPress

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

How To Add Tables In Pages And Posts In WordPress

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

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

Adding Tables Into Your Content In WordPress

The TablePress menu item will now display close to the top section of your menu …

Creating And Adding Tables To WordPress Pages And Posts

You can also play with other plugin options in the “Plugin Options” screen, such as table formatting styles, default language, etc. 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 posts. Your table will then display when republishing or saving your content.

The benefit of doing this is that you can easily update the information in your tables without having to manually edit your posts. TablePress then updates all of your table information 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 In WordPress Posts And Pages

Enter a 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…

Inserting Tables  With WordPress

Once your new table has been created, it will get added to 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 add tables anywhere inside a post or page by simply inserting or copying and pasting the shortcode wherever you want to display a table …

How To Create And Add Tables In WordPress

Once you have created a new table, adding content to it is really 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 format your content (e.g. bold or italicize words, insert hyperlinks, etc …)

Inserting Tables Into Your Content Easily In WordPress

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

Adding Tables To WordPress

You can also edit your table content after it has been created in the “Table Manipulation” subsection. You can perform a number of table operations, like inserting images or links, hiding, showing, inserting, deleting and duplicating selected columns and rows, adding new rows and columns, combining cells, etc …

Inserting Tables Into Your Content Easily With WordPress

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 users to specify the number of rows displayed), display table information, etc …

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

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

Creating And Adding Tables In Pages And Posts With WordPress

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

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

Click the Save Changes button after you are done editing to update your new table data …

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

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

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

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

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

How To Use The Shortcode

You embed a table into page content with a shortcode.

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

How To Add Tables To WordPress Content

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 cursor where you want your table to be inserted then click the TablePress menu icon …

How To Insert Tables Into WordPress  With No Programming Skills Required

TablePress Menu Icon In Visual Editor Screen

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

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

TablePress Menu Icon In HTML Editor Screen

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

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

Creating And Inserting Tables Into Your Content With WordPress

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

How To Create And Add Tables To Your Content Easily With No Coding Skills Required

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

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

As stated earlier, one of the great things about this plugin is that you can change information after publishing the table without having to open your post or page. 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 this plugin, is that if you plan to keep adding new data to an existing table, just export your current table, then add new information, 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, click on TablePress > Export a Table in the WP admin menu …

How To Add Tables In Posts And Pages In WordPress

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 …

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

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

To import a table, go to the admin menu and select TablePress > Import a Table

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

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 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 select whether to import tables as a new table or replace an existing table.

How To Create And Insert Tables  In WordPress

For more information about TablePress, including where to access documentation about extra features, or 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

How To Create And Add Tables To WordPress

As you can see, TablePress is an extremely powerful time saving plugin that is free and will help you easily create and embed tables into your site content.

***

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