{"id":36829,"date":"2023-02-28T07:52:13","date_gmt":"2023-02-28T07:52:13","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=36829"},"modified":"2023-04-21T13:14:36","modified_gmt":"2023-04-21T13:14:36","slug":"how-to-use-filters-with-calendar-widget","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/","title":{"rendered":"How to Use Filters with the Calendar Widget"},"content":{"rendered":"\n<p>From this tutorial, you will learn how to create a listing&nbsp;and calendar from&nbsp;the <a href=\"https:\/\/crocoblock.com\/plugins\/jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>JetEngine<\/strong><\/a> plugin and how to use&nbsp;<strong>Filter<\/strong>&nbsp;widgets with the&nbsp;<strong>Calendar<\/strong>&nbsp;widget.&nbsp;<\/p>\n\n\n\n<p>Firstly, let\u2019s create a different filter for the&nbsp;<strong><a href=\"https:\/\/crocoblock.com\/widgets\/dynamic-calendar\/\" target=\"_blank\" rel=\"noreferrer noopener\">Calendar<\/a>&nbsp;<\/strong>widget. Navigate to&nbsp;<strong>Smart Filters<\/strong>&nbsp;&gt;&nbsp;<strong>Add New<\/strong>, and type in the&nbsp;<strong>Name<\/strong>,&nbsp;<strong>Filter Label<\/strong>, and&nbsp;<strong>Active Filter Label<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters-Date-Range-filter-for-Calendar-Grid-1.png\" alt=\"date range filter labels\">\n\n\n\n<p>In&nbsp;<strong>Filter Type<\/strong>,&nbsp;select&nbsp;<strong>Date Range<\/strong>&nbsp;and choose&nbsp;<strong>Filter by Meta Date<\/strong>. If you\u2019ll choose the&nbsp;<strong>Post Date<\/strong>, then it will be simply the publication date.<\/p>\n\n\n\n<p>I choose the&nbsp;<strong>Meta Date<\/strong>, and in the&nbsp;<strong>Query Variable<\/strong>&nbsp;field, I need to paste the filed key from the&nbsp;<strong>Custom Field<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters-Date-Range-filter-for-Calendar-Grid-2.png\" alt=\"date range filter settings\">\n\n\n\n<p>To do that, go to the&nbsp;<strong>Custom Post&nbsp;<\/strong>type that you\u2019ve created before, for me it\u2019s \u201c<em>Events<\/em>\u201d.<\/p>\n\n\n\n<p>You can find out more about&nbsp;<strong>Custom Post Type<\/strong>&nbsp;and how to create it from this&nbsp;<a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-custom-post-type-based-on-jetengine-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">tutorial<\/a>.<\/p>\n\n\n\n<p>So, in the&nbsp;<strong>Events<\/strong>, I\u2019ve got the number of posts, and each of these posts got the custom field with the&nbsp;<strong>Date<\/strong>. When I open the post called \u201c<strong>Product Presentation<\/strong>\u201d and scroll down to the&nbsp;<strong>Settings<\/strong>, I\u2019ll find the field name&nbsp;<strong>Date<\/strong>, where the date of the event is set.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters.-Custom-Post-Type-for-events.png\" alt=\"post settings\">\n\n\n\n<p>You need to copy the&nbsp;<strong>Name<\/strong>&nbsp;of this date that is called \u201c<em>date-<\/em>\u201d and insert it in the&nbsp;<strong>Query Variable<\/strong>&nbsp;filed in the filter you\u2019ve been creating. Then, click on the&nbsp;<strong>Publish<\/strong>&nbsp;button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters-Date-Range-filter.-Query-Variable.png\" alt=\"date range query variable\">\n\n\n\n<p>After that, open the needed page and drag-n-drop the&nbsp;<a href=\"https:\/\/crocoblock.com\/widgets\/dynamic-calendar\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Calendar<\/strong><\/a> widget to the section where you want to place it.<\/p>\n\n\n\n<p>In the&nbsp;Listing,<strong>&nbsp;<\/strong>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\/02\/JetSmartFilters.-Editing-Listing-Calendar.png\" alt=\"listing calendar widget in elementor\">\n\n\n\n<p>Then, you need to choose by which criteria you want to&nbsp;<strong>Group posts<\/strong>. If you choose&nbsp;<strong>Posts publication<\/strong>&nbsp;date, it will display this post on the day when it was created.&nbsp;<strong>Post modification date<\/strong>&nbsp;will do the same, but it\u2019s going to display posts on the day when you have last changed this post. And the<strong>&nbsp;Date from the custom field<\/strong>&nbsp;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\/02\/JetSmartFilters.-Listing-Calendar.-Group-posts-by.png\" alt=\"group posts in listing calendar\">\n\n\n\n<p>I choose the&nbsp;<strong>Date from the custom field<\/strong>&nbsp;and in the&nbsp;<strong>Meta field name<\/strong>&nbsp;paste the name of the meta field \u201c<em>date-<\/em>\u201d.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters.-Listing-Calendar.-Meta-field-name.png\" alt=\"meta field name\">\n\n\n\n<p>Afterward, drag the&nbsp;<strong><a href=\"https:\/\/crocoblock.com\/widgets\/date-range\/\" target=\"_blank\" rel=\"noreferrer noopener\">Date Range<\/a>&nbsp;Filter<\/strong>&nbsp;to the section. In the&nbsp;<strong>General&nbsp;<\/strong>settings, choose your filter, for me, it\u2019s&nbsp;<strong>Date Range<\/strong>. Then choose&nbsp;<strong>JetEngine Calendar<\/strong>&nbsp;from the&nbsp;<strong>This filter for<\/strong>&nbsp;dropdown.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters.-Edit-Date-Range-Filter.png\" alt=\"date range filter widget settings in elementor\">\n\n\n\n<p>The last step is to click on the<strong>&nbsp;Publish<\/strong>&nbsp;button and check out how the filter works.<\/p>\n\n\n\n<p>Now you know how to use the&nbsp;<strong>JetSmartFilters<\/strong>&nbsp;widgets with the&nbsp;<strong>Listing Grid<\/strong>&nbsp;and&nbsp;<strong>Calendar<\/strong>&nbsp;widgets. Hope this tutorial was useful and you will enjoy the result.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to apply filters to the Calendar widget with the JetSmartFilters and JetEngine plugins on your WordPress website.<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[418],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Filters with Calendar Widget \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Discover how to use filters with the Calendar widget on your WordPress website with the help of JetSmartFilters and JetEngine plugins.\" \/>\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-filters-with-calendar-widget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Filters with Calendar Widget \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Discover how to use filters with the Calendar widget on your WordPress website with the help of JetSmartFilters and JetEngine plugins.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-21T13:14:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters-Date-Range-filter-for-Calendar-Grid-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\/how-to-use-filters-with-calendar-widget\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/\",\"name\":\"How to Use Filters with Calendar Widget \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-02-28T07:52:13+00:00\",\"dateModified\":\"2023-04-21T13:14:36+00:00\",\"description\":\"Discover how to use filters with the Calendar widget on your WordPress website with the help of JetSmartFilters and JetEngine plugins.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/#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 Filters with the Calendar Widget\"}]},{\"@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 Filters with Calendar Widget \u2014 JetSmartFilters | Crocoblock","description":"Discover how to use filters with the Calendar widget on your WordPress website with the help of JetSmartFilters and JetEngine plugins.","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-filters-with-calendar-widget\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Filters with Calendar Widget \u2014 JetSmartFilters | Crocoblock","og_description":"Discover how to use filters with the Calendar widget on your WordPress website with the help of JetSmartFilters and JetEngine plugins.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/","og_site_name":"Help Center","article_modified_time":"2023-04-21T13:14:36+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/JetSmartFilters-Date-Range-filter-for-Calendar-Grid-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\/how-to-use-filters-with-calendar-widget\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/","name":"How to Use Filters with Calendar Widget \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-02-28T07:52:13+00:00","dateModified":"2023-04-21T13:14:36+00:00","description":"Discover how to use filters with the Calendar widget on your WordPress website with the help of JetSmartFilters and JetEngine plugins.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-use-filters-with-calendar-widget\/#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 Filters with the Calendar Widget"}]},{"@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\/36829"}],"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=36829"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=36829"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=36829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}