How to Make a Table in WordPress via TablePress Plugin?

How to Make a Table in WordPress via TablePress Plugin?

Tables are a great way to sort and display content in an understandable format, but inserting them to WordPress can be troublesome if you are not familiar with CSS and HTML. Thankfully, there are various plugins allowing you to make a table inside WordPress posts and pages, without requiring coding knowledge.

For convenience sake, we will use a simple plugin named TablePress. This plugin is among the best table plugins but requires WordPress 4.2 or higher versions.

How to Make a Table in WordPress?

TablePress lets you create and manage feature-rich tables in WordPress via a spreadsheet-like user interface. Depending on personal needs, tables may contain any type of data and can be exported or imported from/to Excel, HTML, CSV as well as JSON files. Also, there is an additional JavaScript library by which you can add features like filtering, pagination, sorting, and so on.

Plugin URL:

About TablePress Plugin

If needed, you can find more useful enhancements and additional features from another sister plugin – TablePress Extensions. To get to know plugin demo and documentation, just visit this website.

1. Add TablePress in WordPress

Firstly, initialize this TablePress plugin just like a regular plugin. There are few alternative ways to finish this task, and you can see its author and compatibility details via the dashboard of WordPress. Upon activation, a new “TablePress” menu will appear from the right-hand WordPress sidebar.

Add TablePress in WordPress

2. Add New Table

From this “Add New Table” tab, simply enter table name and description in the blank text box. Here, we’d like to name it to Price Table and add a short description like “Price comparison table for Host4ASP.NET and WinHost” there. It’s also possible to modify the number of rows and columns. Do hit “Add Table” button finally.

Add New Table

3. Customize Your Table

Next, you will be taken to an “Edit Table” screen to customize this newly-added table. Here, fill out the listed columns and rows with your product details. If needed, you can add more rows or columns by entering a number in the very “Add” field.

Customize Your Table

Also, there are few settings for you to hide, show, combine and even delete those columns and rows. In case you want to insert link, image or open “Advanced Editor”, just click the options below “Table Manipulation”.

Set Table Options

Note: Below is the “Table Options” where you can make more advanced settings related to your tables. For instance, there is an option to set the last row of the table as the table footer, and adjust the background colour for better viewing. It’s at your option to use “DataTables”, “Sorting”, “Pagination” and “Horizontal Scrolling” from the “Database JavaScript Library” area.

4. Add Table in a Post

The next step is to add the table to WordPress posts, pages or widgets. In the upper-right corner of this page, just copy and paste the [table id=1 /] shortcode to the anywhere you want. In this example, we prefer to use this table within the post editor, and below is how our comparison table looks like:

Add Comparison Table in Post

Alternatively, you can insert the table from TablePress using the “Tables” icon from the “Visual” editor. As shown, press the “Insert Shortcode” button from this “Lists of Tables” window, and a shortcode will be automatically added to your post.

View Lists of Tables

5. Import/Export a Table

This option comes in handy when you don’t like to manually add a table and have already created a table in HTML, JSON or CSV format. To be exact, enter the “Import” tab from the top of this page and then specify the table options, such as “Import Source”, “Import File”, “Import Format”, etc. Likewise, you can enter “Export” tab and choose the exported tables and formats to start exporting.

Import a Table

Other Alternative Options

In addition to TablePress, there are a number of plugins you can use to insert tables in WordPress. Following are the recommended ones from

  • Easy Table – It is such a WordPress plugin that creates tables within posts and pages using CSV format. Instead of opening another window, you can directly type the table data in the current post. This plugin does not include nested tables.
  • Websimon Tables – If you want to create and design the table using custom CSS code or readymade skins, then this plugin is an ideal option. Plus, this plugin so far has been downloaded over 75,000 times and gets average user rating of 4.4 stars.
  • TinyMCE Advanced – Creating tables with this TinyMCE Advanced plugin is a piece of cake. It lets you add, re-arrange and remove the buttons shown on the visual editor toolbar from a graphical interface. This is only compatible with WordPress 4.2v.