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 To WordPress

Being able to easily add tables on your pages can be really handy. Tables help you sort and present data to people in a format that can make your information easier to understand.

WordPress provides users with a feature-rich visual editor, 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 add tables manually to your content in WordPress if you have knowledge of HTML (Hyper Text Markup Language) and CSS (Cascading Style Sheets), for most 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 with the click of a mouse is no exception.

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

How To Add Tables In Posts And Pages In 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.

WP Plugin – TablePress

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

TablePress is a great plugin that makes creating, editing and managing tables in your WordPress posts and pages a very simple and easy process.

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

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

Tables can also be imported and exported from/to CSV files (e.g. from Excel), HTML files, and JSON formats.

TablePress was written and 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 manage tables in WordPress posts and pages, first install and activate the TablePress plugin.

Download this plugin here:

http://wordpress.org/extend/plugins/tablepress

Or install it directly from within your own Dashboard …

Creating And Inserting Tables Into Pages And Posts With WordPress

After installing and activating the plugin, you will see a new menu item in your main menu called TablePress

How To Insert Tables Into Pages And Posts With WordPress

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

How To Create And Insert Tables  In WordPress

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

Creating And Adding Tables To WordPress Content

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

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

How To Easily Create And Add Tables Into WordPress

The TablePress menu entry now shows close to the top area of the admin menu …

How To Create And Add Tables In WordPress Content

You can also play with other settings in the “Plugin Options” tab, like formatting styles for your tables, default language, and so on. Leave all default options as they are if you don’t need to change things in this area.

With TablePress, you create edit and format your tables within the plugin area. Tables are then added via a shortcode into your content. The tables will then display or update after publishing your content.

The benefit of working directly from the plugin is that you can easily modify the data in your tables without having to manually edit your posts. The plugin then updates all of your table data in all instances where the table has been added to your content.

To create a new table select TablePress > Add New Table

Creating And Inserting Tables Into Your Content In WordPress

Type in 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, then click on the Add Table button to create your new table. You can change the name, description and size of any tables you create at anytime…

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

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

How To Add Tables To Your Content Easily

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

How To Create And Insert Tables  With WordPress

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

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

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, make the background of consecutive rows alternate in color, highlight a row when visitors hover their mouse over the table, print the table name and description above or below the table, and more …

How To Add Tables  With WordPress

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

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

You can also enable JavaScript library features in your tables that will allow your site users to sort, filter and search your table content, change the number of table rows showing on your posts (and let visitors specify the number of rows displayed), display table information, etc …

Creating And Adding Tables To WordPress Content

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

Adding Tables To WordPress Posts And Pages

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

How To Insert Tables  In WordPress

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

Creating And Adding Tables  With WordPress

Once you have created one or more tables, you can view a list of all your tables by clicking on TablePress > All Tables

Creating And Adding Tables To WordPress Pages And Posts

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

How To Add Tables To WordPress Pages And Posts

How To Use The TablePress Shortcode

You can insert tables into your posts and pages using a shortcode.

You can get the shortcode for your tables by clicking on the Show Shortcode menu item below your table title to get the shortcode …

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

How To Insert Tables Into Your Content Easily With WordPress

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

TablePress Menu Icon In Text Editor Screen

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

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

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

Your TablePress shortcode will be added …

How To Add Tables In Posts And Pages With WordPress

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

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

As stated earlier, one of the great things about this plugin is that you can change information after publishing the table without having to edit your post or page. Tweak the content in the plugin area, then save your new table settings and refresh your post to view the updated content.

Another great time-saving feature of this 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 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 your main menu …

How To Add Tables Into Your Content Easily In WordPress

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 …

How To Add Tables Into Your Content In WordPress

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

To import a table, select TablePress > Import a Table

How To Add Tables Into Your Content Easily In 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 format.

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

Creating And Inserting Tables Into Posts And Pages In WordPress

To learn more about using TablePress, including where to access the plugin documentation for 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 Add Tables Into Your Content Easily In WordPress

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

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site and the products and services offered on this site are not affiliated, associated, endorsed, or sponsored by WordPress, nor have they been tested, certified, or reviewed by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items advertised, reviewed, or linked from this site.

***

Did you find this post useful? If so, please take a moment to use the share buttons below and share this tutorial with other bloggers.

Author: Martin Aranovitch

WPCompendium.org provides hundreds of FREE WordPress tutorials for beginners. Our detailed step-by-step tutorials will save you money and teach you how to start, manage, and grow a website or blog using WordPress that puts you in complete control and delivers results with no coding skills required!