Home Experience & Tips Sharing Standard Post

Standard Post

6 Methods to Add Tables to WordPress

Having dealt with many clients doing WordPress foreign trade website building, almost all need to insert WordPress tables in articles and pages to list product parameters. This article summarizes 6 methods for adding tables in WordPress. To insert table data in a WordPress website, you can choose the following methods: Method 1: Copy and paste Word...

Updated on February 19, 2023 About 3 minutes reading
给WordPress添加表格的6种方法

ContactWordPress Foreign Trade Website BuildingAs more clients use WordPress for foreign trade websites, almost all need to insert WordPress tables in posts and pages to list product parameters. This article by Naibabiji summarizes 6 methods for adding tables in WordPress.

To insert table data into a WordPress website, you can choose from the following methods:

Method 1: Copy and Paste

复制粘贴表格

Method 1 for adding tables in WordPress is to directly copy a table from Word or Excel, then switch to the WordPress editor and paste it to insert the table.

This method is the most convenient, but its drawbacks are also obvious: pasting overly complex tables may cause layout misalignment, and the table styles will differ from those in Word or Excel, requiring custom code adjustments.

Method 2: Add via Gutenberg Editor

古腾堡编辑器添加表格

The Gutenberg editor is the default page editor in WordPress, so we can directly add a table within the Gutenberg editor.

Tables created with this feature do not support overly complex styles, but they have good compatibility.

Method 3: Add using a Page Builder

elementor 表格

Many WordPress websites use popular builders like Elementor, some of which include table functionality or allow adding table features through additional extensions.

Method 4: Use a Table Plugin

WordPress表格插件

You can search for many table-related plugins in the WordPress Plugin Repository. Naibabiji has previously shared several:

  1. Method for adding sortable tables with floating headers to WordPress websites: TablePress
  2. Convenient and flexible method for inserting tables into WordPress websites: WP Table Builder
  3. Compact WordPress responsive table plugin: Responsive Data Table
  4. WP table plugin supporting cell merging: Data Tables Generator by Supsystic

In addition to free table plugins, careful searching will reveal some paid table plugins. Try each one and install the one that suits you best.

Method 5: Use an Image

If your table is relatively complex, inserting an image is the most straightforward method. You might haveSEOconcerns in this regard, but if presenting the table as an image offers a better user experience than the seven methods above, inserting an image is also a good approach.

Method 6: Use Online HTML Code Generation

https://www.tablesgenerator.com/html_tablesis a website for generating HTML code for tables online, helping us convert table content into HTML code, which can then be pasted into WordPress.

Usage Method:

1. You can click New under File to create a new table, create a demo table, or directly set the table size under the Table menu.

2. At Theme, you can select a theme style for the table.

3. Double-click the table to input content; the top tools allow merging cells, inserting images and links, and other operations.

4. After generating the HTML code, copy all the HTML code.

5. Paste the HTML code into WordPress (switch to Text mode in the Classic Editor, or directly add an HTML block in the Gutenberg editor to paste).

 

The above are the 6 methods for adding tables in WordPress shared by Naiba. Choose the one that suits you best.

4.5/5 - (15 votes)
Previous Restore WooCommerce PayPal Standard Payment Gateway Continue reading content around the same timeline. Next Several ways to delete and hide the WooCommerce Add to Cart button View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: