Among various features, what if WordPress doesn’t provide a built-in option to insert tables in pages and posts?
Fortunately, regardless of technical expertise, you can quickly insert beautiful tables in WordPress content.
If you can code at a basic level, you can use the WordPress code editor for the purpose. However, despite coding knowledge, you can use a WordPress plugin for adding WordPress tables.
Today’s article helps you learn how to insert tables into WordPress content.
If you prefer manual routine for embedding tables in WordPress, we’ve also provided a sample HTML code for getting things done manually.
Know before you proceed
- WordPress doesn’t provide a built-in option to include tables in pages and posts.
- There are TWO ways to insert tables in WordPress. You can add tables manually or use a WordPress plugin.
- If you manually write code for tables, you’ll need to copy/paste the code every time you want to place the table in other posts. Similarly, in the case of using a plugin for adding tables, a shortcode is sufficient for showing tables at different positions on your website.
- If you remove the WordPress plugin for tables, you may lose the entire tables’ data or the posts may result in affecting the table’s presentation.
How to insert tables in WordPress?
Insert tables manually (involves writing HTML/CSS code)
The best part of creating a table using HTML code is the page speed factor. Hence Google confirms the page speed as a ranking factor; you can avoid affecting site speed by creating and inserting tables with HTML/CSS code. Head over to this awesome tutorial on how to speed up your WordPress website.
Here is a sample code snippet for adding tables to your WordPress content.
Insert the code by going into the “Text view”, make necessary changes in the code, and proceed to save changes at the end. Every time you want to change the table’s content, you’ll need to alter code in the Text view.
In the manual routine, you can show a table at different positions. For the said purpose, you’ll need to copy and paste the code manually.
Use a WordPress plugin
There are many candidates for inserting tables in WordPress pages and posts. However, in my opinion, the best plugins include wpDataTables and TablePress. These plugins provide highly effective features for adding tables to WordPress pages and posts.
WPDataTable: Comes with a pack of Free and Paid features. The paid version is available at its official website, while you can download the Lite/Free package from the WordPress Plugins Directory.
You can avail 20% Discount by entering the coupon: WPCRIB516463
In the following lines, we’re going to address the actionable walk through of the above plugins.
Proceed to the Plugins -> Add New button to install and activate the said plugin.
Search for wpdatatables in the plugins directory and install the first plugin that appears in the search results.
After you install and activate the plugin, click on the wpDataTables at the Dashboard’s left panel. The next page shows various options to create a new table. Select a Free option to proceed, specify data source on the next page, and configure things as directed on the screen.
To learn more, watch the wpDataTables tutorial for more information on creating tables with the wpDataTables WordPress plugin.
TablePress is one of the best plugins for inserting tables into WordPress pages and posts.
Head over to plugin’s directory and install the TablePress plugin. Don’t forget to click on Activate after installation.
Proceed to click on TablePress at the Dashboard left the panel. On the next page, you can choose to create a new table or import one from a source.
Head over to click on Add New option. You can now fill in the blanks, follow instructions and finish creating your first table using TablePress. In the end, you’ll get a shortcode for every table you’ve created. When inserted the shortcodes in the WordPress pages and posts, you can see the respective tables in the content.
The above routine helps you insert and edit tables in the WordPress pages and posts. For improved functionality, don’t remove the plugins as long as you want to show the tables in content.
You can either use the WordPress (Text view) to insert tables in WordPress or use a plugin for the purpose. In the Text view, you’ll need to put the HTML code for showing the table. On the other hand, a WordPress plugin helps you embed tables in WordPress with a point-and-click interface.
Tables in WordPress help you show accounting-based data. With a mix of premium features in paid plugins, you can even show the graphical data.
We recommend using the manual routine for showing tables if you’re an absolute beginner and want to show tables with basic options. Comparatively; for advanced users, we recommend going for the WPDataTables or TablePress.
Last but not least; the manual routine consists of copying/pasting the table’s source code every time you want to show a table. On the other hand, plugins help you generate one-line shortcodes for tables, that you can place at different positions to show the tables.
Did you like our effort in this article? If you think we’ve missed out something, we’d love to hear your thoughts in the comments.