How to Add a Column to a Table in WordPress

A column is a verticle section in a table, holding specific data for each row. It serves as a container for related information. Normally we specify the number of columns in a table while creating the table.

But in some cases, we may often need to add columns to an existing table at any later time. This article will show you how to add a column to a table in WordPress.

Method 01: How to Add a Column to a Default Table in WordPress

To add a new column to an existing table, place your cursor on the column before or after which you want to add the new column. See the table below. We want to add a new column after the third column.

We placed our cursor on the third column. Hit the Edit Table icon on the toolbar. Next, select the Insert column before or Insert column after option.

The new column will be added to the table according to your choice.

Add a new column to the default WordPress table

You can see a new column has been added to the table. Now, add content to its rows.

New column added to the default WordPress table

Method 02: How to Add a Column to a Table Created with TableBerg

The TableBerg plugin also allows you to add new columns to your existing table. The process is completely similar to the above method. Place your cursor on any column.

Press the Edit table icon on the toolbar. Next, select the Insert column before or Insert column after option from the list.

Add column to a table created with TableBerg

You can see a new column has been created in between two other columns.

Column added to the TableBerg table

Conclusion

Adding a new column may affect the space and layout of the other existing columns. You may have to optimize their heights and widths. So, have a plan ahead before adding a new column so it doesn’t disturb your content presentation.

Explore how to create a comparison table in WordPress.

Leave a Reply

Your email address will not be published. Required fields are marked *

Early Bird Offer Is Live Now!
This is default text for notification bar