{"id":9374,"date":"2019-06-14T08:21:16","date_gmt":"2019-06-14T08:21:16","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=9374"},"modified":"2023-04-21T09:53:56","modified_gmt":"2023-04-21T09:53:56","slug":"jetsmartfilters-how-to-filter-the-publications-by-date","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/","title":{"rendered":"How to Filter the Publications by Date Field Data Source"},"content":{"rendered":"\n<p>JetSmartFilters is a plugin, which has different types of filters. The <a rel=\"noopener noreferrer\" href=\"https:\/\/crocoblock.com\/widgets\/date-range\/\" target=\"_blank\">Date Range Filter<\/a> widget provides an easy way to filter the posts or products using the date they were added, or filter the events by the event date when it\u2019s supposed to take place.<\/p>\n\n\n\n<p>Let\u2019s find out how to filter the publications by date.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"set-up-date-of-publication\">Set up Date of Publication<\/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>Your date can be a date of a post or it can be a custom date from the <strong>Meta Field<\/strong> <strong>Date Type<\/strong>. In this way, if you want to display posts and sort them by a custom date, don\u2019t forget to check that you have added an appropriate field in the <strong>J<em>etEngine<\/em><\/strong><em> &gt; <\/em><strong><em>Listing Grid<\/em><\/strong><em> &gt; <\/em><strong><em>Meta Boxes<\/em><\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Meta-fields.png\" alt=\"custom date from meta field date type\">\n\n\n\n<p>Then, you should insert an appropriate date for each post in this field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Meta1.png\" alt=\"date type meta field\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-date-range-filter\">Create Date Range 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>You need to go to the <strong>Smart Filters<\/strong> block at your <strong>Dashboard<\/strong> and click &#8220;<strong>Add New<\/strong>&#8221; button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Add-new-filter1.png\" alt=\"add new filter with jetsmartfilters\">\n\n\n\n<p>Here you should add the name of a filter, inscribe the <strong>Filter Label<\/strong>, select the <strong>Filter Type<\/strong>. In our case, it\u2019s the <strong>Date Range Filter<\/strong>. Then, you filter your posts by <strong>Meta Date<\/strong> or <strong>Post Date<\/strong>. If you filter by <strong>Meta Date<\/strong> it\u2019s very important to specify <strong>Custom Field Key<\/strong>, which will display the values from the repeating posts fields.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-date-range-filter\">Add Date Range 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 you can go to the <strong>Elementor<\/strong> editor. You should remember that there should be two widgets on your page: <a href=\"https:\/\/crocoblock.com\/widgets\/listing-grid\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Listing Grid<\/strong><\/a> and <strong>Date Range Filter<\/strong>.<\/p>\n\n\n\n<p>When you add the <strong><a href=\"https:\/\/crocoblock.com\/widgets\/date-range\/\" target=\"_blank\" rel=\"noopener noreferrer\">Date Range Filter<\/a>,<\/strong>&nbsp;you should select an appropriate filter type. Then, don\u2019t forget to choose for which widget you want to apply this filter type.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Edit-Date-Range-Filter.png\" alt=\"date range filter content settings\">\n\n\n\n<p>In <strong>Apply Type<\/strong> you select when the form for a range appears: in AJAX or after reloading of the page. You may inscribe your own button text or leave the same. It\u2019s also one more feature: you may display a filter label if you need it.<\/p>\n\n\n\n<p>Now you can click the &#8220;<strong>Preview<\/strong>&#8221; button to see what you have.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Preview-button.png\" alt=\"preview button jetsmartfilters\">\n\n\n\n<p>Let\u2019s try to filter your posts by date. You should inscribe dates to filter your posts.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Preview-test1.png\" alt=\"preview button jetsmartfilters\">\n<\/div><\/div>\n\n\n\n<p>So, here we are. Hope, this tutorial will be useful for you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having read this tutorial, you will understand how to filter your posts and pages by date with the help of the JetSmartFilters plugin.<\/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 Filter Publications by Date Field Data Source \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Filter posts or products by the date, when they were added using JeSmartFilters Dynamic Range filter and JetEngine Listing Grid widget.\" \/>\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-filter-the-publications-by-date\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Filter Publications by Date Field Data Source \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Filter posts or products by the date, when they were added using JeSmartFilters Dynamic Range filter and JetEngine Listing Grid widget.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-21T09:53:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Meta-fields.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=\"3 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-filter-the-publications-by-date\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/\",\"name\":\"How to Filter Publications by Date Field Data Source \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-06-14T08:21:16+00:00\",\"dateModified\":\"2023-04-21T09:53:56+00:00\",\"description\":\"Filter posts or products by the date, when they were added using JeSmartFilters Dynamic Range filter and JetEngine Listing Grid widget.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/#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 Filter the Publications by Date Field 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 Filter Publications by Date Field Data Source \u2014 JetSmartFilters | Crocoblock","description":"Filter posts or products by the date, when they were added using JeSmartFilters Dynamic Range filter and JetEngine Listing Grid widget.","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-filter-the-publications-by-date\/","og_locale":"en_US","og_type":"article","og_title":"How to Filter Publications by Date Field Data Source \u2014 JetSmartFilters | Crocoblock","og_description":"Filter posts or products by the date, when they were added using JeSmartFilters Dynamic Range filter and JetEngine Listing Grid widget.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/","og_site_name":"Help Center","article_modified_time":"2023-04-21T09:53:56+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Meta-fields.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/","name":"How to Filter Publications by Date Field Data Source \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-06-14T08:21:16+00:00","dateModified":"2023-04-21T09:53:56+00:00","description":"Filter posts or products by the date, when they were added using JeSmartFilters Dynamic Range filter and JetEngine Listing Grid widget.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-publications-by-date\/#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 Filter the Publications by Date Field 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\/9374"}],"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=9374"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=9374"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=9374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}