How to Delete a Column from a Table in WordPress

Similar to row, you may often want to delete specific columns from your WordPress tables to make them cleaner, reducing clutteredness.

This article will show you how to delete a column from a table in WordPress in two easy ways.

Create Beautiful Tables
With Block Editor

Method 1: Delete Columns from a Table Created with the Default Table Block

Hope you have a table ready created with the default table block. Similar to the above method, place your cursor on the column you want to delete.

Hit the Edit Table icon on the toolbar. Then, click the Delete column option. This will remove the selected column.

Delete column created by the table block

Method 2: Delete Columns from a Table Created with the TableBerg Plugin

The TableBerg plugin allows you to create multi-purpose and versatile tables in WordPress. Below is a dummy table created with the plugin. If your table is built with the plugin, you can delete its column in the following way.

Dummy table created with the TableBerg plugin

Place your cursor on the column you want to delete. Hit the Edit Table icon on the toolbar. Click the Delete column option after that. This will delete the specific column from the table.

Delete column from the table created with the TableBerg plugin

We wanted to delete the Ratings column from the table. You can see the row is no longer on the table.

Preview of the column deleted from the table created with the TableBerg plugin

Final Words!

After the column is deleted, your table may look narrow compared to the page margin. As a result, you may need to change the alignment of the table. Here’s an article on how to align tables in WordPress.



The Tableberg Team