{"id":47011,"date":"2025-02-12T10:07:13","date_gmt":"2025-02-12T10:07:13","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=47011"},"modified":"2025-11-07T08:58:14","modified_gmt":"2025-11-07T08:58:14","slug":"how-to-use-hidden-filter-with-components","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/","title":{"rendered":"How to Use Hidden Filter with Components"},"content":{"rendered":"\n<p><strong>Hidden Filter <\/strong>is the <em>JetSmartFilters<\/em>\u2019 feature that allows modifying the query that has already been applied to its provider. Refer to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/hidden-filter-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Hidden Filter Overview<\/strong><\/a> for more information about its settings.<\/p>\n\n\n\n<p>In this guide, we will show how to use the <strong>Hidden Filter <\/strong>with <em>JetEngine\u2019s <\/em><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/components-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Component<\/strong><\/a> to dynamically change which posts are displayed in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> based on the value selected in a <strong>Component <\/strong>control.<\/p>\n\n\n\n<p>For instance, you can let users select a taxonomy term within the component and automatically display only the posts associated with that term. You can also adjust the available options in other multi-select filters based on the selected value in the component. This approach maintains query stability even when additional filters are applied within the component.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">This guide is recreated with the <a href=\"https:\/\/crocoblock.com\/dynamic-templates\/balirento\/\"><strong>BaliRento<\/strong><\/a> dynamic template.<\/p><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-taxonomy\">Create Taxonomy<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Initially, we built a custom \u201cProperty Type\u201d taxonomy for the \u201cProperties\u201d <strong>Custom Post Type (CPT)<\/strong>, added terms, and attached posts to them. This taxonomy will later be used as a source for the <strong>Hidden Filter<\/strong>.<\/p>\n\n\n\n<p>Additionally, we add the \u201cMeals\u201d taxonomy, create terms, and attach posts to them. We will use this taxonomy as a source in a <strong>Checkbox Filter<\/strong>, which will also be displayed in the component.<\/p>\n\n\n\n<p>Check the detailed guide on <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/creating-custom-taxonomy-with-jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Create a Custom Taxonomy<\/strong><\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-1024x640.webp\" alt=\"taxonomy terms\" class=\"wp-image-50060\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"build-a-listing-template\">Build a Listing Template<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Next, we want to build a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-template-in-elementor-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing item<\/strong><\/a><strong> <\/strong>that will be added later in the <strong>Component<\/strong>.<\/p>\n\n\n\n<p>Go to <strong><em>WordPress Dashboard &gt; JetEngine &gt; Listings\/Components <\/em><\/strong>and press the \u201c<strong>Add New Item<\/strong>\u201d button.<\/p>\n\n\n\n<p>We leave the default \u201cPosts\u201d <strong>Listing source<\/strong>, select \u201cProperties\u201d <strong>Custom Post Type<\/strong> in the <strong>From post type <\/strong>field, set the <strong>Listing item name <\/strong>to \u201cProperties Listing item,\u201d and pick the \u201cElementor\u201d option as the <strong>Listing view<\/strong> (you can use any preferred option).<\/p>\n\n\n\n<p>Click the \u201c<strong>Create Listing Item<\/strong>\u201d button to proceed to the editor.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up-1024x640.webp\" alt=\"setup listing item pop-up\" class=\"wp-image-50061\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-listing-item-pop-up.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the editor, we add <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/dynamic-widgets-and-blocks\/\" target=\"_blank\" rel=\"noreferrer noopener\">dynamic widgets<\/a> that display post metadata.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid-1024x640.webp\" alt=\"dynamic terms in the listing grid\" class=\"wp-image-50062\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/dynamic-terms-in-the-listing-grid.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Once the listing item is ready, press the \u201c<strong>Publish<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-filter\">Create a Filter<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Now, we want to build a filter that will later be added to the <strong>Component <\/strong>and applied to the <strong>Listing Grid <\/strong>in addition to the <strong>Hidden Filter<\/strong>.<\/p>\n\n\n\n<p>Set the <strong>Filter Name<\/strong> (here, \u201cCheckboxes Meals\u201d) and select the desired <strong>Filter Type<\/strong>. For instance, in this case, we pick the \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-a-new-filter-and-apply-it-to-publications\/\" target=\"_blank\" rel=\"noreferrer noopener\">Checkboxes list<\/a>\u201d option.<\/p>\n\n\n\n<p>We pick \u201cTaxonomies\u201d as the <strong>Data Source <\/strong>and \u201cMeals\u201d as the <strong>Taxonomy<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings-1024x640.webp\" alt=\"the first part of the meals checkbox filter settings\" class=\"wp-image-50063\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-first-part-of-the-meals-checkbox-filter-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Also, we set the <strong>Filter Labels <\/strong>and press the \u201c<strong>Update<\/strong>\u201d button to save the filter.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings-1024x640.webp\" alt=\"the second part of the meals checkbox filter settings\" class=\"wp-image-50064\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/the-second-part-of-the-meals-checkbox-filter-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"build-a-component\">Build a Component<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Head to <strong><em>WordPress Dashboard &gt; JetEngine &gt; Listings\/Components <\/em><\/strong>and press the \u201c<strong>Add New Component<\/strong>\u201d button.<\/p>\n\n\n\n<p>Set the <strong>Component name <\/strong>(here, \u201cComponent\u201d) and select the <strong>Component view <\/strong>(here, \u201cElementor.\u201d)<\/p>\n\n\n\n<p>To proceed to the editor, press the \u201c<strong>Create Component<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up-1024x640.webp\" alt=\"setup component pop-up\" class=\"wp-image-50065\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/setup-component-pop-up.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the editor, add the <strong>Hidden Filter <\/strong>widget to the page.&nbsp;<\/p>\n\n\n\n<p>In the <strong>Content<\/strong> settings, select \u201cJetEngine\u201d in the <strong>This filter for <\/strong>selector.&nbsp;<\/p>\n\n\n\n<p>We want to use the \u201cProperty Type\u201d taxonomy as the source, so we select the \u201cTaxonomy\u201d <strong>Argument Type<\/strong> and set the <strong>Name <\/strong>to \u201cproperty-type,\u201d since that is the <strong>Taxonomy Slug<\/strong> set when creating the custom taxonomy.<\/p>\n\n\n\n<p>In the <strong>Value <\/strong>field, paste the %component_control_value|select-tax|||% macro, where the \u201cselect-tax\u201d part will be used as the <strong>Control Name <\/strong>of the \u201cSelect\u201d control we will add to the component a little later. You can use any preferred <strong>Control Name<\/strong>, so change it accordingly.<\/p>\n\n\n\n<p>Also, set the <strong>Query ID <\/strong>that will later connect the filters and the provider. Here, we type the \u201clisting\u201d <strong>Query ID<\/strong>,<strong> <\/strong>but you can use any preferred one.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component-1024x640.webp\" alt=\"hidden filter in the component editor\" class=\"wp-image-50066\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/hidden-filter-in-the-component.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Next, we add a <strong>Checkboxes Filter <\/strong>to filter content further, not only by the \u201cProperty Type\u201d taxonomy in the <strong>Hidden Filter<\/strong>, but also by the \u201cMeals\u201d terms.<\/p>\n\n\n\n<p>Pick the created filter in the <strong>Select filter <\/strong>field and select the \u201cJetEngine\u201d provider in the <strong>This filter for <\/strong>field.<\/p>\n\n\n\n<p>Also, we set the <strong>Query ID <\/strong>to \u201clisting\u201d to connect this filter to the <strong>Listing Grid<\/strong>.<\/p>\n\n\n\n<p>Make other changes if needed.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component-1024x640.webp\" alt=\"meals checkbox filter in the component\" class=\"wp-image-50067\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/meals-checkbox-filter-in-the-component.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Add a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a><strong> <\/strong>widget to the page.<\/p>\n\n\n\n<p>Pick the built <strong>Listing <\/strong>and adjust other <strong>General <\/strong>settings if needed.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component-1024x640.webp\" alt=\"general settings of the listing grid in the component\" class=\"wp-image-50068\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/general-settings-of-the-listing-grid-in-the-component.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>If you have set the <strong>Query ID <\/strong>in the filters, let\u2019s connect them to the <strong>Listing Grid<\/strong>.\u00a0<\/p>\n\n\n\n<p>Open the <strong>Advanced <\/strong>tab and paste the same value in the <strong>CSS ID <\/strong>field (here, \u201clisting.\u201d)<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component-1024x640.webp\" alt=\"advanced settings of the listing grid in the component\" class=\"wp-image-50069\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/advanced-settings-of-the-listing-grid-in-the-component.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>When all the widgets are added, we press the \u201c<strong>settings<\/strong>\u201d button next to the component name.<\/p>\n\n\n\n<p>Open the <strong>Component Content Controls <\/strong>tab, then press the added \u201cText Control\u201d to edit it.<\/p>\n\n\n\n<p>Set the <strong>Control Label <\/strong>(here, \u201cSelect Taxonomy\u201d) and the <strong>Control Value<\/strong>. Here, we set the <strong>Control Value <\/strong>that was used in the <strong>Hidden Filter <\/strong>macro to pass the selected taxonomy term to the <strong>Listing Grid<\/strong>, \u201cselect-tax\u201d.<\/p>\n\n\n\n<p>Pick the \u201cSelect\u201d <strong>Control Type <\/strong>and move to the <strong>Options <\/strong>textarea field.<\/p>\n\n\n\n<p>Here, set the needed options in the \u201c1::Red\u201d format, where \u201c1\u201d is the term ID and \u201cRed\u201d is its label.<\/p>\n\n\n\n<p>For example, we add such options:<\/p>\n\n\n\n<p>\u201cbungalow::Bungalow<\/p>\n\n\n\n<p>cottage::Cottage<\/p>\n\n\n\n<p>house::House<\/p>\n\n\n\n<p>resort::Resort<\/p>\n\n\n\n<p>villa::Villa\u201d.<\/p>\n\n\n\n<p>These correspond to the terms\u2019 <strong>Slugs <\/strong>and <strong>Names <\/strong>(names can be changed if desired, but the slugs should remain the same, as they connect the filter, <strong>Listing Grid<\/strong>, and terms).<\/p>\n\n\n\n<p>We also set the \u201ccottage\u201d ID as the <strong>Default Value<\/strong>, so this option will be selected by default in the <strong>Component <\/strong>settings.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor-1024x640.webp\" alt=\"component control settings in elementor\" class=\"wp-image-50070\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-control-settings-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Press the \u201c<strong>Publish<\/strong>\u201d button when the component is ready.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-the-component-on-the-pagetemplate\">Add the Component on the Page\/Template<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Open the page or template where you want to use the component. In this tutorial, we head to <strong><em>WordPress Dashboard &gt; Pages &gt; Add New<\/em><\/strong> and open the Elementor page builder.<\/p>\n\n\n\n<p>Find and add the component you have built before to the page.\u00a0<\/p>\n\n\n\n<p>You will observe the added component control in the settings. In our case, the <strong>Select Taxonomy<\/strong>. In this field, select the desired property type. We leave the default \u201cCottage.\u201d<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor-1024x640.webp\" alt=\"component settings in elementor\" class=\"wp-image-50071\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/component-settings-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Adjust other settings, and whenever you are ready, press the \u201c<strong>Publish<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"check-the-result\">Check the Result<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Open the built page\/template on the front end. Since we set the property type to \u201cCottage,\u201d we see options associated with this term.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter-1024x640.webp\" alt=\"listing filtered with the hidden filter\" class=\"wp-image-50072\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-hidden-filter.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Select one or more filter options to see if it works.<\/p>\n\n\n\n<p>Now, our <strong>Listing Grid <\/strong>shows only cottages with the \u201cSelf Catering\u201d meal type.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter-1024x640.webp\" alt=\"listing filtered with the checkbox filter\" class=\"wp-image-50073\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/listing-filtered-with-the-checkbox-filter.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>That\u2019s all; now you know how to use <em>JetSmartFilters\u2019 <\/em><strong>Hidden Filter <\/strong>with <em>JetEngine\u2019s <\/em><strong>Components <\/strong>on your WordPress website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to use JetSmartFilters\u2019 Hidden Filter with JetEngine\u2019s Components feature on your WordPress website.<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[568,420],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Hidden Filter with Components \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to use JetSmartFilters\u2019 Hidden Filter with the Components feature from JetEngine for WordPress websites.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Hidden Filter with Components \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to use JetSmartFilters\u2019 Hidden Filter with the Components feature from JetEngine for WordPress websites.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-07T08:58:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-1024x640.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/\",\"name\":\"How to Use Hidden Filter with Components \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2025-02-12T10:07:13+00:00\",\"dateModified\":\"2025-11-07T08:58:14+00:00\",\"description\":\"Learn how to use JetSmartFilters\u2019 Hidden Filter with the Components feature from JetEngine for WordPress websites.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Use Hidden Filter with Components\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use Hidden Filter with Components \u2014 JetSmartFilters | Crocoblock","description":"Learn how to use JetSmartFilters\u2019 Hidden Filter with the Components feature from JetEngine for WordPress websites.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Hidden Filter with Components \u2014 JetSmartFilters | Crocoblock","og_description":"Learn how to use JetSmartFilters\u2019 Hidden Filter with the Components feature from JetEngine for WordPress websites.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/","og_site_name":"Help Center","article_modified_time":"2025-11-07T08:58:14+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/11\/taxonomy-terms-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/","name":"How to Use Hidden Filter with Components \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2025-02-12T10:07:13+00:00","dateModified":"2025-11-07T08:58:14+00:00","description":"Learn how to use JetSmartFilters\u2019 Hidden Filter with the Components feature from JetEngine for WordPress websites.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-hidden-filter-with-components\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Use Hidden Filter with Components"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/47011"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/9"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=47011"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=47011"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=47011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}