How to Create a Table in WordPress?

Inserting Table in WordPress Using WordPress Block Editor

To insert a table in WordPress using this block editor, follow the steps below:

  • Go to your WordPress dashboard.
  • Click on ‘ Posts ’ and then go to ‘ Add New ’ to create a new post. You can also insert a table to an existing post. Go to ‘ All Posts ’ and select any post you want. 
  • Click on the (+) symbol at the top.
  • Select ‘Table.’

Select Table from WordPress Block Editor

  • The editor will prompt you to choose the number of rows and columns you want to set for your table.
  • Assign an estimated number. You can always add or remove the rows and columns later. 
  • You can type the table cell number, and the editor automatically resizes the table depending on the table’s content.
  • You can even set a fixed width to the table from the right-hand side corner. 
  • You can opt to add a header section, a footer section, and even the background color on your table.

Change table setting and color

  • In case you need to add a new column or row, click on the cell where you want to add it. 
  • Click the ‘Edit Table’ button.

Add rows or columns

  • You can also delete the column and rows in the same way. Select ‘ Delete Column ’ or ‘ Delete Row. ’ 
  • The content of your table is aligned to the left by default. If you want to change that, click on the ‘ Change Column Alignment ’ option.

Align position for table content

  • Now select the option where you want to align your table. You can choose either left, center, or right. 
  • Similarly, you can change the alignment of the whole table. 
  • Click on the ‘ Change alignment ’ button.
  • Now, select the option from the list. 

Align table position

This method of inserting a table using the Gutenberg editor is a lot easier. This feature offers greater flexibility on how to display your tables. However, this method lacks certain features, such as custom sorting, search filtering, and many others. 

  • Was this reply helpful?
  • Yes
  • No