---
title: "How to Add a Compare Button to Custom or Any Other Post Type in Elementor?"
url: https://theplusaddons.com/docs/add-a-compare-button-to-custom-or-any-other-post-type-in-elementor/
date: 2024-07-02
modified: 2026-09-27
lang: en
author: "Aditya Sharma"
description: "Compare isn't only useful for products - a real estate listing, a car dealership inventory, or any custom post type with comparable attributes can benefit from the same feature. Woo..."
image: https://theplusaddons.com/wp-content/uploads/2024/07/How-to-Add-Animated-Headings-In-Elementor-4-2-1024x565.jpg
word_count: 375
---

# How to Add a Compare Button to Custom or Any Other Post Type in Elementor?

## 

- Woo Compare’s Post Type control accepts any post type registered on the site, so it applies to real estate listings, car dealership inventory, or other custom post types, not only WooCommerce products.
- The Plus Addons for Elementor Pro requires Elementor installed and active, WooCommerce installed and active with at least one published product, and a Pro licence to use all Woo Builder widgets.
- Woo Compare is enabled from The Plus Addons > Widgets, and its Post Type default is Product while Type, Compare Type, and Count Type behave the same for every selected post type.

Compare isn't only useful for products - a real estate listing, a car dealership inventory, or any custom post type with comparable attributes can benefit from the same feature.

Woo Compare's **Post Type** control is separate from its Type/Compare Type controls, and accepts any post type registered on the site, not only WooCommerce products.

For the full settings tour of every Woo Builder widget, see [Woo Builder Settings Overview](https://theplusaddons.com/docs/woo-builder-settings-overview/).

***Requirement - This widget is a part of The Plus Addons for Elementor Pro, make sure it's installed & activated to enjoy all its powers.***

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-builder/woocommerce-builder/?utm_source=tpae&utm_medium=docs&utm_campaign=text)

## Before You Start

- **Prerequisite:** [Elementor](https://wordpress.org/plugins/elementor/) (free) installed and active.- **Prerequisite:** [WooCommerce](https://wordpress.org/plugins/woocommerce/) installed and active, with at least one published product.- **Edition:** all Woo Builder widgets are part of **The Plus Addons for Elementor Pro** - a Pro licence is required.- **Widget to enable:** go to **The Plus Addons > Widgets**, search for **Woo Compare** and turn its toggle on.- A custom post type already registered on the site (by your theme or another plugin) if you want to compare something other than posts, pages or products.

## Steps

- Add the **Woo Compare** widget wherever you want the compare control to appear on the custom post type's archive or single template.- From **Post Type**, choose the post type you want to enable comparison for - this list includes every post type registered on the site, not only Product.- Configure **Type**/**Compare Type**/**Count Type** exactly as described in the other Woo Compare docs - they behave the same regardless of which post type is selected.

![Post Type dropdown listing every registered post type](https://theplusaddons.com/wp-content/uploads/2026/09/woo-builder-compare-post-type.webp)

## Why WooCommerce Is Still Required

Even though the Post Type control isn't limited to Product, the widget itself is still gated on WooCommerce being active (confirmed in source) - WooCommerce does not need to be the subject of the comparison, but it must be installed and active for the widget to register.

## Settings Overview

| Setting | What it does | Default |
| ------- | ------------ | ------- |
| Post Type | Which post type the compare feature applies to. | Product |

## Not verified

So you know exactly what has and has not been checked:

- Live comparison-table rendering against a real custom post type's own fields (rather than WooCommerce product fields) - not yet tested against a real custom post type fixture.

## Related Docs

- [How to Add Product Compare in Elementor?](https://theplusaddons.com/docs/add-product-compare-in-elementor/)- [How to Create a WooCommerce Product Comparison Page in Elementor?](https://theplusaddons.com/docs/create-a-woocommerce-product-comparison-page-in-elementor/)

## Frequently Asked Questions

**Q: What do I need before adding a compare button to a custom post type in Elementor?**
A: Elementor free and WooCommerce both need to be installed and active, and WooCommerce must already have at least one published product. The widget is also part of The Plus Addons for Elementor Pro, so a Pro licence is required. If you want to compare something other than posts, pages, or products, the custom post type has to be registered on the site first by your theme or another plugin. That setup matters because the compare widget reads from registered post types, not just WooCommerce products.

**Q: Can I use the compare widget with a custom post type instead of WooCommerce products?**
A: The Post Type control accepts any post type registered on the site, so it is not limited to WooCommerce products. That makes it useful for things like real estate listings or car dealership inventory where multiple items share comparable attributes. The key limitation is that WooCommerce still has to be active for the widget to register, even when WooCommerce is not the thing being compared.

**Q: Why is WooCommerce still required if I only want to compare custom posts?**
A: WooCommerce is still the gatekeeper for the widget itself. The page says the compare feature can target any registered post type, but the widget only registers when WooCommerce is installed and active. That means WooCommerce is a dependency, not necessarily the subject of the comparison. This is an easy gotcha if the widget does not appear in Elementor even though your custom post type is already set up.

**Q: What should I do if the compare widget does not show my custom post type?**
A: The first thing to check is whether that post type is actually registered on the site by your theme or another plugin. The Post Type list only includes registered post types, so an unregistered type will never appear there. Also confirm that Woo Compare has been enabled under The Plus Addons > Widgets and that WooCommerce plus Elementor are active. Those are the conditions that let The Plus Addons for Elementor, The Plus Addons, Plus Addons for Elementor, POSIMYTH register the widget properly.

**Q: How do I decide which post type to use for comparison?**
A: Pick the post type whose items share fields people would realistically compare side by side. The page calls out real estate listings and car dealership inventory as good examples because they usually have repeatable attributes. Since Type/Compare Type/Count Type behave the same regardless of which post type you select, the main decision is really about data structure: choose a post type with consistent fields so the comparison table stays meaningful instead of looking random.

**Q: Is there a difference between Post Type and Type/Compare Type in Woo Compare?**
A: Post Type controls which content type the compare feature applies to, while Type/Compare Type/Count Type are separate settings that work the same no matter which post type you choose. That separation matters because it lets you point comparison at any registered post type without changing how those other controls behave. For a deeper settings tour across widgets, [Woo Builder Settings Overview](https://theplusaddons.com/docs/woo-builder-settings-overview/) is the related reference linked from this page.
