Skip to main content

How to Assign a Filter to Different Widgets Using JetSmartFilters

With JetSmartFilters, you can assign filters to widgets to streamline search functionality for visitors, particularly with Custom Posts and WooCommerce products.

Updated over 12 months ago

Step 1: Configure General Settings

  1. Navigate to WordPress Dashboard > Smart Filters > Settings.

  2. In the General Settings tab, activate toggles for all widgets you plan to use with filters.

Step 2: Create Filters

  1. Go to Smart Filters in your WordPress Dashboard.

  2. Create the necessary filters according to your requirements.

Step 3: Set Up Widgets for Filtering

Open the page in Elementor/Bricks or Blocs editor and follow the instructions for each widget type.

Listing Grid

  1. Add the Listing Grid widget to the page and select your listing template.

  2. In the Content settings of each filter, select the filter you just created and specify the filter’s target, such as JetEngine.

Elementor Loop Grid

  1. In the Select Filter field, choose the filter you created. In the This filter for field, choose Elementor Pro Loop Grid. Set additional settings as needed.

  2. Enable the "Is Filterable" toggle in the Loop Grid widget settings.

Bricks Query Loop

  1. To filter items in the Query Loop, enable the "Is Filterable" toggle.

  2. In the This filter for field, select Bricks Query Loop.

Step 4: Assign Each Filter to Specific Widgets

To ensure each filter interacts only with its designated widget:

  1. Click on the Listing Grid widget and go to Advanced settings.

  2. In the CSS ID field, add a unique identifier (e.g., grid-1).

  3. Copy this ID.

  4. Return to the filter widget you want to assign to this Listing Grid and paste the ID into the Query ID field.

  5. Repeat this process for any additional filters and widgets.

Note: If you have different widgets, such as Listing Grid and Map Listing, you can still assign the same filter by giving each listing and map a unique ID and then adding those IDs to your filter, for example:

Step 5: Test and Finalize

Once all settings are configured, check the page to ensure each filter operates correctly with its designated widget.

Now, your filters are fully customized, and your page is ready for a streamlined user experience!

Did this answer your question?