How to add table in WordPress (Table Press Plugin)

Table is a collection of Rows & columns. It is essentially an intersection of horizontal and vertical lines.

The table is an important way to group related data in a web page.

There are 2 important ways to add a Table in your WordPress Post/page –

  1. Using HTML & CSS
  2. Using a Plugin

Using, HTML & CSS requires you to have a technical knowledge of HTML and CSS. HTML stands for Hyper Text markup Language to create web pages while  CSS stands for Cascading Style Sheets which add styles to the HTML Pages.

In this article, we will NOT be using HTML & CSS to create Tables, rather we will show you how you can easily create tables using a WordPress Plugin called ‘TablePress‘.

TablePress Plugin allows us to easily create a table by adding short-codes.  TablePress is a free plugin used for creating & you can embed these tables to a post, page or text widgets.

Functionality of TablePress plugin

TablePress is one of the best plugins for creating tables in WordPress –

  • You can change the style of the table by entering CSS command into the “custom CSS” text-area on the “Plugin Option” screen.
  • You can also add certain features like sorting of the table by visitors, filter, search table, pagination, etc.
  • You can export your table in a CSV, HTML, JSON files formats.

Steps Requirred

  1. Go to Dashboard > Plugins.
  2. In the keyword Area, type “Tablepress“.
  3. You will see the plugin with name ‘TablePress‘ by Tobias Bäthge. Currently at the time of writing this article, this plugin has more than 700,000 active installs and more than 3000 positive reviews.
  4. So, make sure that this plugin is compatible with your version of WordPress. If yes, then Click on install and activate.
TablePress plugin

Table Press is active now.

  1. Go to Tablepress plugin > Add new tables.
tablepress
  1. Now, provide the table name, number of rows, number of columns. In this case, we gave the table name as – STUDENT MARKSHEET, Number of Rows as 5 & Number of columns as 5.
  2. Once you provide all the necessary details. Click on Add Table.
table content
  1. Fill Table content > select option which you want > save changes.> preview.
table details

Now, the table is created with the name as ‘STUDENT MARKSHEET‘. Let us see how you can use this table in your blog or post.

For adding Table to a page or blog.
  • Go to post > add new > give the title.
  • Go back to TablePress. Select the particular table & click on show shortcode > copy the shortcode of the table you created.
copy code
  • Paste the shortcode to post or page where you want to create that table. Once you save the Post/Page, then click on  view post to see the table.
Final Table

So, this is a simple way to create a Table in WordPress using the Tablepress plugin. 

If you wish to create Tables using HTML, then learn our HTML Tables ,and to apply styles on the HTML Tables, you can use CSS Tables.

Tutorials for all brains!