{"id":9731,"date":"2019-06-07T09:13:50","date_gmt":"2019-06-07T09:13:50","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=9731"},"modified":"2023-04-24T13:39:50","modified_gmt":"2023-04-24T13:39:50","slug":"jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/","title":{"rendered":"How to Filter Events in the Calendar Widget with the Date Range Filter"},"content":{"rendered":"\n<p>Also, you\u2019re able to filter your events, so it will be easy to find the needed one just in a few clicks.<\/p>\n\n\n\n<p>This tutorial will teach you how to filter the events from the dynamic calendar. Note that you will need the <strong>JetEngine<\/strong> plugin to create a calendar. Now, let\u2019s dive into the process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"filtering-the-events-from-the-dynamic-calendar\">Filtering the Events from the Dynamic Calendar<\/h2>\n\n\n\n<p>Firstly, open your <strong>WordPress Dashboard<\/strong> and navigate to <strong>JetEngine<\/strong> &gt; <strong>JetEngine<\/strong> &gt; <strong>Modules Manager<\/strong>, then enable the <strong>Calendar<\/strong> widget and save the changes.<\/p>\n\n\n\n<p>After that, go to<strong> Smart Filters<\/strong> &gt; <strong>Add New<\/strong>. Here you need to type in the <strong>Name<\/strong>, <strong>Filter Label<\/strong>, and <strong>Active Filter Label<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Smart-Filters.-Date-Range-filter-1.png\" alt=\"filter labels settings for the date range filter\">\n\n\n\n<p>Then, select <strong>Date Range<\/strong> from the <strong>Filter Type <\/strong>dropdown, and choose <strong>Filter by Meta Date<\/strong> option. If you want to showcase the publication date, then you need to choose the <strong>Post Date<\/strong>.<\/p>\n\n\n\n<p>In my case, I choose the<strong> Meta Date<\/strong>. Then, in the <strong>Query Variable<\/strong> field, you\u2019ll need to paste the field key from the <strong>Custom Field<\/strong>. You can find the key in the <strong>Custom Post Type<\/strong> that you\u2019ve created before.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Smart-Filters.-Date-Range-filter-2.png\" alt=\"filter and query settings\">\n\n\n\n<p>Also, you can learn more about <strong>Custom Post Type<\/strong> and how to create it in this <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-custom-post-type-based-on-jetengine-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\">tutorial<\/a>.<\/p>\n\n\n\n<p>In my <strong>Custom Post<\/strong> that is named \u201c<em>Events<\/em>\u201d, I\u2019ve got the number of posts with events, and each of these posts got the custom field with the <strong>Date<\/strong>.<\/p>\n\n\n\n<p>Open the needed post, and in the <strong>Settings<\/strong> section, you\u2019ll see the field \u201c<em>Date<\/em>\u201d with the date of the event.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Custom-Post-Type-for-events.png\" alt=\"date field in the post\">\n\n\n\n<p>Copy the <strong>Name<\/strong> of the event (for this case it\u2019s \u201c<em>date-<\/em>\u201d) and then paste it in the <strong>Query Variable<\/strong> field in the filter you\u2019ve created. Then, click on the<strong> Publish <\/strong>button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Date-Range-Filter.-Query-Variable.png\" alt=\"filter and query settings for date range filter\">\n\n\n\n<p>The next step is to open the page where you want to add the calendar and drag-n-drop the <a href=\"https:\/\/crocoblock.com\/widgets\/dynamic-calendar\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Calendar<\/strong> <\/a>widget to the section.<\/p>\n\n\n\n<p>Afterward, in the <strong>Listing<\/strong> dropdown, select the listing you\u2019ve created for your events.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Listing-Calendar.-Choosing-Listing.png\" alt=\"listing dropdown in the general settings in calendar widget\">\n\n\n\n<p>You can learn more about <strong>Listing<\/strong> and how to create it from this <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-functionality-how-to-create-a-new-listing-to-apply-for-the-certain-post-type\/\" target=\"_blank\" rel=\"noopener noreferrer\">tutorial<\/a>.<\/p>\n\n\n\n<p>Then, you can choose the criteria by which you want to <strong>Group posts<\/strong>. If you choose <strong>Posts publication date<\/strong>, it will display this post on the day when it was created. <strong>Post modification date<\/strong> will do the same, but it\u2019s going to display posts based on the day when you last changed this post. And the <strong>Date from the custom field<\/strong> will display posts on the dates that are set in the custom field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Listing-Calendar.-Group-posts.png\" alt=\"general settings in calendar widget\">\n\n\n\n<p>I choose the <strong>Date from the custom field,<\/strong> and in the <strong>Meta field name<\/strong> paste the <strong>Name<\/strong> of the meta field \u201c<strong>date-<\/strong>\u201d.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Listing-Calendar.-Meta-field-name.png\" alt=\"general settings in calendar widget\">\n\n\n\n<p>The last step here is to find the <strong><a href=\"https:\/\/crocoblock.com\/widgets\/date-range\/\" target=\"_blank\" rel=\"noopener noreferrer\">Date Range<\/a> Filter<\/strong> and drop it to the needed section. Choose your filter in the <strong>General <\/strong>settings section and select the <strong>JetEngine Calendar <\/strong>from the <strong>This Filter for<\/strong> section.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Date-Range-Filter-settings.png\" alt=\"content settings in date range filter\">\n\n\n\n<p>When you\u2019re done with all customization, click on the <strong>Publish<\/strong> button and try how the filter works.<\/p>\n\n\n\n<p>Now you know how to filter the events from the <strong>Calendar<\/strong> using <strong>JetSmartFilters<\/strong> and <strong>JetEngine <\/strong>plugins.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains what steps you have to take to filter events from the Calendar widget with the help of JetSmartFilters and JetEngine plugins.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[421,397],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Date Range Filter with Calendar \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Filer the events presented with the help of JetEngine Calendar widget. Let users find a needed event using Date Range filter.\" \/>\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-events-from-the-dynamic-calendar-widget-jetengine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Date Range Filter with Calendar \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Filer the events presented with the help of JetEngine Calendar widget. Let users find a needed event using Date Range filter.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T13:39:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Smart-Filters.-Date-Range-filter-1.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=\"4 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-events-from-the-dynamic-calendar-widget-jetengine\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/\",\"name\":\"How to Use Date Range Filter with Calendar \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-06-07T09:13:50+00:00\",\"dateModified\":\"2023-04-24T13:39:50+00:00\",\"description\":\"Filer the events presented with the help of JetEngine Calendar widget. Let users find a needed event using Date Range filter.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/#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 Events in the Calendar Widget with the Date Range Filter\"}]},{\"@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 Date Range Filter with Calendar \u2014 JetSmartFilters | Crocoblock","description":"Filer the events presented with the help of JetEngine Calendar widget. Let users find a needed event using Date Range filter.","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-events-from-the-dynamic-calendar-widget-jetengine\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Date Range Filter with Calendar \u2014 JetSmartFilters | Crocoblock","og_description":"Filer the events presented with the help of JetEngine Calendar widget. Let users find a needed event using Date Range filter.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/","og_site_name":"Help Center","article_modified_time":"2023-04-24T13:39:50+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/03\/Smart-Filters.-Date-Range-filter-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/","name":"How to Use Date Range Filter with Calendar \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-06-07T09:13:50+00:00","dateModified":"2023-04-24T13:39:50+00:00","description":"Filer the events presented with the help of JetEngine Calendar widget. Let users find a needed event using Date Range filter.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-filter-the-events-from-the-dynamic-calendar-widget-jetengine\/#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 Events in the Calendar Widget with the Date Range Filter"}]},{"@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\/9731"}],"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=9731"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=9731"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=9731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}