{"id":13236,"date":"2019-08-05T07:28:15","date_gmt":"2019-08-05T07:28:15","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=13236"},"modified":"2024-01-08T15:01:45","modified_gmt":"2024-01-08T15:01:45","slug":"jetsmartfilters-how-to-create-visual-filter-with-posts-data-source","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/","title":{"rendered":"How to Create Visual Filter with the Posts Data Source"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Before creating a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-visual-filter-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Visual Filter<\/strong><\/a>, make sure that you have added a post relation. It can be one-to-one, one-to-many, or many-to-many \u2014 it doesn\u2019t matter which type of relation you create, but choose only one to add the filter for.\u00a0<\/p>\n\n\n\n<p>In our tutorial, we use a one-to-many post relation with the \u201cCountry\u201d <strong>Custom Post Type<\/strong> as a parent object and the \u201cTours\u201d <strong>Custom Post Type<\/strong> as a child.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-1024x640.webp\" alt=\"jetengine relations list\" class=\"wp-image-43093\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-a-new-filter\"><strong><strong>Add a New Filter<\/strong><\/strong><\/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<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Go to the <strong><em>WordPress Dashboard > Smart Filters > Add New <\/em><\/strong>directory.<\/p>\n\n\n\n<p>Initially, you should define the <strong>Filter Name<\/strong> and select the \u201cVisual\u201d <strong>Filter Type <\/strong>to enable filtering by colors or images.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings-1024x640.webp\" alt=\"visual filter primary settings\" class=\"wp-image-43094\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-primary-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Then, choose the \u201cPosts\u201d <strong>Data Source<\/strong>.<\/p>\n\n\n\n<p>In the <strong>Post Type<\/strong> drop-down menu, you should pick the post type that you\u2019ve assigned as a parent in the post relation.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected-1024x640.webp\" alt=\"visual filter data source and post type selected\" class=\"wp-image-43095\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-data-source-and-post-type-selected.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Next, select the <strong>Type <\/strong>of <strong>Visual Filter<\/strong>: a \u201cColor\u201d or an \u201cImage\u201d option. Then, define its <strong>Behavior<\/strong>, which can be either a \u201cCheckbox\u201d or \u201cRadio.\u201d These options refer to workflows similar to the <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\"><strong>Checkboxes Filter<\/strong><\/a><strong> <\/strong>and <strong>Radio Filter, <\/strong>respectively.<\/p>\n\n\n\n<p>Then, press the \u201c<strong>Add New<\/strong>\u201d button next to the <strong>Options List <\/strong>label to adjust the filter options according to the ones you have in the parent post type.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button-1024x640.webp\" alt=\"options list add new button\" class=\"wp-image-43096\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/options-list-add-new-button.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The <strong>Label<\/strong> field is optional. It\u2019s common for the visual type to leave this field empty, as the color or image is more informative than the text.<\/p>\n\n\n\n<p>Choose the needed <strong>Value <\/strong>from the drop-down list (these values must comply with the posts from the parent post type).<\/p>\n\n\n\n<p>Then, specify the color if you\u2019ve chosen a \u201cColor\u201d <strong>Type<\/strong>, and in case you\u2019ve selected an \u201cImage\u201d <strong>Type<\/strong>, select a certain image.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list-1024x640.webp\" alt=\"visual filter options list\" class=\"wp-image-43097\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-options-list.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>If you select the \u201cRadio\u201d <strong>Type<\/strong>, additional options appear:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings-1024x640.webp\" alt=\"additional radio settings\" class=\"wp-image-43098\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/additional-radio-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<ul>\n<li><strong>Add all option <\/strong>\u2014 a toggle that adds the extra option to the list, allowing users to show all content at once;<\/li>\n\n\n\n<li><strong>All option label <\/strong>\u2014 a field that allows changing the default \u201cAll\u201d label into any desired text. Below the text field, there is also a \u201c<strong>Choose an image<\/strong>\u201d button, which helps set the image for the \u201cAll\u201d option (if desired);<\/li>\n\n\n\n<li><strong>Ability to deselect radio buttons <\/strong>\u2014 a toggle that deactivates the selected option fixation.<\/li>\n<\/ul>\n\n\n\n<p>The following <strong>Is Checkbox Meta Field (Jet Engine) <\/strong>toggle should be activated only if the options are taken from the <em>JetEngine<\/em>\u2019s meta box.<\/p>\n\n\n\n<p>After that, you should set the queried field key in the <strong>Query Variable<\/strong> field. To find the necessary value, click the \u201c<strong>Dynamic Tags<\/strong>\u201d<strong> <\/strong>button next to the <strong>Query Variable<\/strong> field.<\/p>\n\n\n\n<p>Here, pick the \u201cJetEngine: filters children items by parent IDs\u201d option and specify the <strong>Relation <\/strong>you work with.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected-1024x640.webp\" alt=\"filter children items by parent IDs with relation selected\" class=\"wp-image-43099\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-children-items-by-parent-ids-with-relation-selected.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the last section of the filter settings, complete the <strong>Filter Label field <\/strong>with the value that will appear<strong> <\/strong>next to the filter and the <strong>Active Filter Label <\/strong>used with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-active-tags-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Active Tags<\/strong><\/a><strong> <\/strong>and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-enable-visitors-to-disable-active-filters\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Active Filters<\/strong><\/a><strong> <\/strong>widgets\/blocks\/elements.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section-1024x640.webp\" alt=\"filter labels section\" class=\"wp-image-43100\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/filter-labels-section.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"put-visual-filter-on-the-page\"><strong>Put Visual Filter on the Page<\/strong><\/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 editor where you want to place your filter. It can be either Gutenberg, Elementor, or Bricks. For instance, we work with Elementor.\u00a0<\/p>\n\n\n\n<p>Find the <a href=\"https:\/\/crocoblock.com\/widgets\/visual-filter\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Visual Filter<\/strong><\/a> widget\/block\/element and drag it to the canvas.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor-1024x640.webp\" alt=\"visual filter in the search bar of elementor\" class=\"wp-image-43101\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-in-the-search-bar-of-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the <strong>Select filter <\/strong>field, choose the filter that you\u2019ve previously created.<\/p>\n\n\n\n<p>In the <strong>This filter for<\/strong> menu, specify the content provider. We add the filter to the listing based on the posts, so we select the \u201cJetEngine\u201d option.<\/p>\n\n\n\n<p>After that, choose the <strong>Apply type<\/strong>, either \u201cAJAX\u201d or \u201cPage reload,\u201d and the <strong>Apply on <\/strong>trigger.<\/p>\n\n\n\n<p>Enable the <strong>Show apply button<\/strong> option and then the <strong>Show filter label<\/strong> one if you need it.<\/p>\n\n\n\n<p>In the <strong>Query ID<\/strong> field, enter the ID of the section you want to apply the filter to in case you have several sections on the same page.<\/p>\n\n\n\n<p>You can also activate the <strong>Additional Providers Enabled <\/strong>toggle to apply the filter to several providers.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab-1024x640.webp\" alt=\"visual filter content settings tab\" class=\"wp-image-43102\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-content-settings-tab.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the <strong>Filter Options<\/strong> tab, you can disable the label next to the options with the help of the <strong>Show items label<\/strong> option.<\/p>\n\n\n\n<p>In the <strong>Image Size<\/strong> drop-down menu, you can choose the size that will suit the general appearance.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab-1024x640.webp\" alt=\"visual filter options settings tab\" class=\"wp-image-43103\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-filter-options-settings-tab.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Customize the appearance of the filter in the <strong>Style<\/strong> tab and press the \u201c<strong>Publish\/Update<\/strong>\u201d button to save the changes.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings-1024x640.webp\" alt=\"visual filter style settings\" class=\"wp-image-43104\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-style-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\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>Proceed to the front-end page to check the result.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end-1024x640.webp\" alt=\"visual filter on the front end\" class=\"wp-image-43105\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/visual-filter-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Pick the needed options to see if the filter works properly.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end-1024x640.webp\" alt=\"checked result on the front end\" class=\"wp-image-43106\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/checked-result-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>Now you know how to create a <strong>Visual Filter <\/strong>with the \u201cPosts\u201d <strong>Data Source <\/strong>based on the <em>JetSmartFilters <\/em>plugin for your WordPress Dashboard.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>With the help of a Visual filter, you can range not only the products but also publications, such as posts from different post types.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[535],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Visual Filter with the Posts Data Source \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to range publications by the data from the meta field and based on post relations using Visual Filter with Posts data source.\" \/>\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-create-visual-filter-with-posts-data-source\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Visual Filter with the Posts Data Source \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to range publications by the data from the meta field and based on post relations using Visual Filter with Posts data source.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-08T15:01:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-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=\"6 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-create-visual-filter-with-posts-data-source\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/\",\"name\":\"How to Create Visual Filter with the Posts Data Source \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-08-05T07:28:15+00:00\",\"dateModified\":\"2024-01-08T15:01:45+00:00\",\"description\":\"Learn how to range publications by the data from the meta field and based on post relations using Visual Filter with Posts data source.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/#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 Create Visual Filter with the Posts Data Source\"}]},{\"@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 Create Visual Filter with the Posts Data Source \u2014 JetSmartFilters | Crocoblock","description":"Learn how to range publications by the data from the meta field and based on post relations using Visual Filter with Posts data source.","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-create-visual-filter-with-posts-data-source\/","og_locale":"en_US","og_type":"article","og_title":"How to Create Visual Filter with the Posts Data Source \u2014 JetSmartFilters | Crocoblock","og_description":"Learn how to range publications by the data from the meta field and based on post relations using Visual Filter with Posts data source.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/","og_site_name":"Help Center","article_modified_time":"2024-01-08T15:01:45+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/01\/jetengine-relations-list-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/","name":"How to Create Visual Filter with the Posts Data Source \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-08-05T07:28:15+00:00","dateModified":"2024-01-08T15:01:45+00:00","description":"Learn how to range publications by the data from the meta field and based on post relations using Visual Filter with Posts data source.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-visual-filter-with-posts-data-source\/#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 Create Visual Filter with the Posts Data Source"}]},{"@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\/13236"}],"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=13236"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=13236"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=13236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}