{"id":20079,"date":"2020-08-19T12:22:43","date_gmt":"2020-08-19T12:22:43","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=20079"},"modified":"2023-04-24T07:55:33","modified_gmt":"2023-04-24T07:55:33","slug":"jetsmartfilters-how-to-use-filters-in-gutenberg","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/","title":{"rendered":"How to Apply Filters to Gutenberg Blocks"},"content":{"rendered":"\n<p>The elements created and added in the Gutenberg editor are much \u201clighter\u201d than those built with Elementor. They look simpler and can\u2019t be uniquely styled but also don\u2019t reduce the page loading speed. If you wish to sacrifice stunning designs to loading speed, the <strong>JetEngine <\/strong>and <strong>JetSmartFilters <\/strong>plugins allow you to do that. This tutorial will show you how to add filters to the Gutenberg page and configure all the necessary settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-items-grid\">Add Items Grid<\/h2>\n\n\n\n<p>First of all, you need to create a grid that will be filtered by one of the JetSmartFilters widgets. Be aware that when used in Gutenberg, those filters can only work with JetEngine listing grids and WooCommerce shortcodes. Go to the page or post where you would like to add the grid and filters, and click the \u201c<strong>Edit<\/strong>\u201d button.<\/p>\n\n\n\n<p>If you want to place a listing grid to the page and need a hint, go through <a href=\"https:\/\/crocoblock.com\/knowledge-base\/article-category\/jetengine-for-gutenberg\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">our tutorial<\/a> on how to use JetEngine widgets in Gutenberg.<\/p>\n\n\n\n<p>And if you\u2019d like to display the WooCommerce products list on this page, learn more about<a href=\"https:\/\/docs.woocommerce.com\/document\/woocommerce-product-search\/shortcodes\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"> WooCommerce shortcodes<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-and-add-filter-block-to-page\">Create and Add Filter Block to Page<\/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>When you are done creating the items grid, open the dashboard and go to <strong><em>Smart Filters &gt; Add New<\/em><\/strong>. Create the filter you need. For more information, check out this<a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetsmartfilters-how-to-create-a-new-filter-and-apply-it-to-publications\/\" target=\"_blank\" rel=\"noreferrer noopener\"> filter creation tutorial<\/a>.<\/p>\n\n\n\n<p>After that, turn back to the page or post with the item grid, click the \u201c<strong>Add block<\/strong>\u201d button (it has the icon of a cross in a circle), and find the <strong>Jet Smart Filters<\/strong> blocks tab. Choose the filter you need and click on it. In our case, it will be the <strong>Checkboxes filter<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/smart-filters-blocks.png\" alt=\"JetSmartFilters blocks\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"define-general-settings\">Define General Settings<\/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>Click on the filter block and look at the <strong>General <\/strong>settings menu on the right side of the page. That menu is almost the same as the one you can see in Elementor. Let\u2019s take a closer look at each feature.<\/p>\n\n\n\n<ul>\n<li><strong>Select filter<\/strong>. In this drop-down menu, you have to choose the filter you created for the grid on this page;<\/li>\n\n\n\n<li><strong>This filter for<\/strong>. There are two options here \u2013 \u201cListing Grid\u201d and \u201cWooCommerce Shortcode.\u201d Choose the one matching your items list;<\/li>\n\n\n\n<li><strong>Apply type<\/strong>. This feature defines how the sorting results will be presented to the user. \u201cAJAX\u201d means that the sorting results will appear without reloading the page. The \u201cPage reload\u201d option will reload the page to show the filtering results. And if you choose the \u201cMixed\u201d option, the page won\u2019t reload but the URL of the page will change;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/general-settings-1.png\" alt=\"general settings\">\n\n\n\n<ul>\n<li><strong>Apply on<\/strong>. Here you can choose if the results will be shown after the user changes the value or once the Apply button is clicked;<\/li>\n\n\n\n<li><strong>Show apply button<\/strong>. If you have chosen the \u201cClick on apply button\u201d option in the previous feature, turn this toggle on to show the button;<\/li>\n\n\n\n<li><strong>Apply button text<\/strong>. The text you will type in here will be placed on the button;<\/li>\n\n\n\n<li><strong>Show filter label<\/strong>. This option will be useful if you have several filters to apply. When enabled, it shows the filter label.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/general-settings-2.png\" alt=\"the second part of the general settings\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"set-indexer-options\">Set Indexer Options<\/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>The indexer is a feature that shows how many items match every sorting option. The number of items is shown near the option in brackets. If you would like to enable that option, it is not enough to turn on the toggle in the menu.<\/p>\n\n\n\n<p>First of all, you have to open the Dashboard and go to <strong><em>JetPlugins &gt; JetSmartFilters Settings &gt; Indexer<\/em><\/strong>. Turn on the <strong>Enable Indexed filters functionality<\/strong> toggle, click on the proper post type, and click the \u201c<strong>Save<\/strong>\u201d button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/jetsmartfilters-indexer-enable.png\" alt=\"JetSmartFilters settings indexer switcher\">\n\n\n\n<p>After that, proceed to <strong>SmartFilters<\/strong>, open the list of filters, and hit the <strong>\u201cIndex Filter<\/strong>\u201d button.<\/p>\n\n\n\n<p>Now you can turn back to the page with the grid and filters and continue with the settings. Unfold the <strong>Indexer Options<\/strong> menu tab and turn the <strong>Apply Indexer<\/strong> and <strong>Show Counter<\/strong> toggles on. After that, you can choose whether to show the counter with zero value when the option is empty and when to change counters.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/index-filters-button.png\" alt=\"index filters button\">\n\n\n\n<p>After you\u2019re done with all the settings, click the \u201c<strong>Update<\/strong>\u201d or \u201c<strong>Publish<\/strong>\u201d button and go to the front to see what it will look like.<\/p>\n\n\n\n<p>If you have <a href=\"https:\/\/crocoblock.com\/plugins\/jetstylemanager\/\">JetStyleManager<\/a> installed, you can also customize the appearance of the filter block. In that case, after clicking on the filter block, you will see a &#8220;Block Style&#8221; button next to the &#8220;Settings&#8221; button. Hit it, and you will see a set of sections that contain the design settings of the block elements. You will be able to choose alignments, sizes, colors, fonts, gaps, and other features of the filter design. Play with the settings to achieve the result that will fit your taste.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/block-style.png\" alt=\"block style button\">\n<\/div><\/div>\n\n\n\n<p>That\u2019s it. You now know how to apply a filter to the grid without editing it in the Elementor page builder.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial reveals how to apply JetSmartFilters plugin widgets to a Listing Grid created with JetEngine or WooCommerce shortcodes without going to the Elementor page builder. You will learn to use filters in Gutenberg on the example of the Checkboxes filter.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[422],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Build Filters Without Elementor \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Find out how to create WooCommerce compatible filters in Gutenberg with the help of JetSmartFilters&#039; widgets.\" \/>\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\/jetsmartfilters-how-to-use-filters-in-gutenberg\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build Filters Without Elementor \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Find out how to create WooCommerce compatible filters in Gutenberg with the help of JetSmartFilters&#039; widgets.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T07:55:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/smart-filters-blocks.png\" \/>\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=\"5 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\/jetsmartfilters-how-to-use-filters-in-gutenberg\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/\",\"name\":\"How to Build Filters Without Elementor \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2020-08-19T12:22:43+00:00\",\"dateModified\":\"2023-04-24T07:55:33+00:00\",\"description\":\"Find out how to create WooCommerce compatible filters in Gutenberg with the help of JetSmartFilters' widgets.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/#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 Apply Filters to Gutenberg Blocks\"}]},{\"@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 Build Filters Without Elementor \u2014 JetSmartFilters | Crocoblock","description":"Find out how to create WooCommerce compatible filters in Gutenberg with the help of JetSmartFilters' widgets.","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\/jetsmartfilters-how-to-use-filters-in-gutenberg\/","og_locale":"en_US","og_type":"article","og_title":"How to Build Filters Without Elementor \u2014 JetSmartFilters | Crocoblock","og_description":"Find out how to create WooCommerce compatible filters in Gutenberg with the help of JetSmartFilters' widgets.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/","og_site_name":"Help Center","article_modified_time":"2023-04-24T07:55:33+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/smart-filters-blocks.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/","name":"How to Build Filters Without Elementor \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2020-08-19T12:22:43+00:00","dateModified":"2023-04-24T07:55:33+00:00","description":"Find out how to create WooCommerce compatible filters in Gutenberg with the help of JetSmartFilters' widgets.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-filters-in-gutenberg\/#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 Apply Filters to Gutenberg Blocks"}]},{"@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\/20079"}],"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\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=20079"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=20079"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=20079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}