07Days
00HRS
00MINS
00SECS

WP30

How To Create A Product Comparison Table In WordPress

Product comparison table in WordPress

If you run an affiliate site, an online store or a review blog, a product comparison table is one of the most useful things you can add to a page. It puts the key facts of several products side by side, so visitors can pick the right one in seconds instead of reading long reviews.

In this guide you will learn how to create a product comparison table in WordPress. First you will see what the core Table block can do (Option 1), then how to build a polished, mobile friendly comparison table with WP Table Builder (Option 2).

What Makes a Good Product Comparison Table?

A good comparison table answers the question “which one should I buy?” quickly. Before you build one, keep these points in mind:

  • Compare three to five products. More than that makes the table hard to scan.
  • Pick the features buyers care about, such as rating, battery life, size or price, and leave out the rest.
  • Use the same units in every row (hours, GB, inches), so values are easy to compare.
  • Use symbols for yes and no, like a green check and a gray cross.
  • Point out your top pick with a small label or highlight.
  • Add a clear next step, such as a price or a “Check price” button.

For more ideas, read our comparison table best practices.

Option 1: Use the Core Table Block

WordPress has a built in Table block. Add it to your post, choose the number of columns and rows, and type your product names and features into the cells. You can turn on a header section, pick the Stripes style and set one text and background color for the whole table.

This is fine for a very simple text comparison, but it has clear limits for product tables. Cells can only hold text, so you cannot add product images, star ratings or buy buttons. There is no easy way to highlight a top pick, and wide tables do not stack nicely on phones. For a real product comparison, a table plugin is the better choice.

Option 2: Create a Product Comparison Table With WP Table Builder

WP Table Builder is a drag and drop table builder for WordPress. It works like a page builder for tables: you drop elements such as images, text, star ratings and buttons into cells and style everything with simple settings. Install and activate it from the WordPress plugin directory, then follow these steps.

Step 1: Create a New Table

Go to WP Table Builder → Add New in your dashboard. You can start from a blank table by choosing the number of columns and rows, or pick a ready made template. The Comparison template category is a quick way to start, because the layout is already set up for comparing products.

WP Table Builder Add New page showing the Comparison template category
The Add New page in WP Table Builder with the Comparison template category.

Give your table a name at the top so you can find it later. The builder opens with the Elements panel on the left and your table on the canvas.

The WP Table Builder builder with the top bar, the Elements panel on the left and a comparison table on the canvas
The WP Table Builder builder with the Elements panel on the left and a comparison table on the canvas.

Step 2: Add Product Names and Images

Every cell starts with a Text element, so you can click a cell and type right away. Put the product names in the top row and the feature names in the first column. To show a product photo, drag the Image element into a cell, click it and choose an image from your Media Library. Always fill in the Image Alt Text field.

WP Table Builder Image settings with Choose Image, Replace image, Image Alignment and Image Alt Text
Image element settings in WP Table Builder with Choose Image, Image Alignment and Image Alt Text.

Step 3: Add Ratings and Features

Drag the Star Rating element into the rating row and set the Rating Value for each product. You can also change the star size and color. For features, type short values into the Text elements, such as “8 hours” or “IPX5”. Use a check mark and a cross for yes and no features.

WP Table Builder Star Rating settings with Max Rating, Rating Value, Star Size, Star Color and Show Rating
Star Rating settings in WP Table Builder with Max Rating, Rating Value, Star Size and Star Color.

Want a list of features in one cell? Use the free List element. WP Table Builder Pro also has a Styled List element with custom icons, such as green check marks.

Step 4: Add Buy Buttons

Drag the Button element into the last row. Click it to change the label (for example “Check price”), add your product or affiliate link, and set the colors. In the link settings you can open the link in a new tab and mark it as nofollow or sponsored, which is important for affiliate links.

A Button element dropped into a cell of a blank WP Table Builder table
A Button element dropped into a cell of a WP Table Builder table.

Once the first product column looks right, add the same elements to the other columns in the same order and change the details. Keeping the order the same makes the table easy to compare.

Step 5: Style the Table

Open the Settings tab. In the Background section, set the Header Background and the Odd Row and Even Row colors. In the Border section, set a light border and a Table Border Radius for rounded corners. Our guide on changing table colors in WordPress explains every color setting.

WP Table Builder Background section with Header Background, Odd Row Background and Even Row Background on the General tab
The Background section in WP Table Builder with Header, Odd Row and Even Row Background colors.

To make your top pick stand out, WP Table Builder Pro lets you turn on Highlight this column and scale the column up a little. In the free version, add a small “Top pick” label or a star next to the product name.

WP Table Builder Row and Column Control with Highlight this column turned on and Scale set to 105
Row and Column Control in WP Table Builder with Highlight this column turned on (Pro).

Step 6: Make the Table Responsive

Click the Responsive tab and turn on Enable Responsive Table. Select the Mobile breakpoint and choose a Stack Direction. Turn on First Row As Header so product names repeat above each stacked card. Check the preview and adjust the tablet view the same way. Learn more in our guide to responsive tables in WordPress.

WP Table Builder Responsive tab with the Mobile breakpoint selected, showing Stack Direction, First Row As Header and a stacked table preview
The Responsive tab with the Mobile breakpoint, Stack Direction and First Row As Header settings.

Step 7: Save and Embed the Table

Click Save, then Embed to copy the shortcode, for example [wptb id="123" not found ], and paste it into any post or page. In the block editor you can also add the WP Table Builder block and pick your table from the list.

WP Table Builder Embed this table dialog showing the wptb id shortcode, the Copy button, and Gutenberg, Elementor and Divi options
The Embed this table dialog in WP Table Builder with the shortcode and Copy button.

Product Comparison Table Example

Here is a live product comparison table made with WP Table Builder. It compares three sample pairs of wireless earbuds with ratings, features, check marks and prices, and marks the top pick with a star.

Feature

AirLite S2

SoundMax Pro ★

BudsGo Mini

Rating

★★★★★ 4.3

★★★★★ 4.8

★★★★★ 4.1

Battery life

6 hours

8 hours

5 hours

With case

24 hours

32 hours

20 hours

Noise cancelling

✗ No

✓ Yes

✗ No

Wireless charging

✗ No

✓ Yes

✗ No

Water resistance

IPX4

IPX5

IPX4

Best for

Everyday use

Travel and work

Gym and running

Price

$59

$129

$39

Powered by WP Table Builder

Tips for Better Comparison Tables

  • Put the most important row first. Rating or price usually matters most to buyers.
  • Keep cells short. Use numbers and short phrases, not sentences.
  • Keep data up to date. Check prices and specs regularly, especially on affiliate sites.
  • Be fair. Show real strengths and weaknesses so readers trust your picks.
  • Test on a phone. Many visitors will see the stacked version.

Looking for other table plugins too? See our list of the best WordPress comparison table plugins, or learn how to build a feature comparison table.

Frequently Asked Questions

What is a product comparison table?

It is a table that shows several products side by side with their key features, ratings and prices, so visitors can compare them quickly and choose the right one.

Can I create a product comparison table for free?

How many products should a comparison table include?

Are comparison tables good for affiliate sites?

Will my comparison table work on mobile?

Conclusion

A clear product comparison table helps visitors decide faster and can lead to more sales or affiliate clicks. The core Table block works for a basic text table, but for images, star ratings, buttons and a good mobile layout, WP Table Builder makes the job easy. Start from a Comparison template, add your products, style it with your brand colors and embed it anywhere on your site.

Comments

Leave a Reply