{"id":836,"date":"2021-03-26T16:09:03","date_gmt":"2021-03-26T16:09:03","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=836"},"modified":"2026-05-20T06:09:19","modified_gmt":"2026-05-20T06:09:19","slug":"fail-to-display-future-and-past-events-in-the-listing-grid-widget","status":"publish","type":"tips-and-tricks","link":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/","title":{"rendered":"Displaying Future and Past Events in the Listing Grid Widget"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"creating-a-query\">Creating a Query<\/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>To query the <strong>Listing Grid<\/strong> by the \u201cDate\u201d meta field, you can use <a href=\"https:\/\/www.php.net\/manual\/en\/datetime.formats.php\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">relative formats<\/a> located in the section with the same name.&nbsp;<\/p>\n\n\n\n<p>For instance, we use a <strong>Custom Post Type<\/strong> \u201cEvents\u201d that has a meta field of a \u201cDate\u201d <strong>Field type<\/strong> dubbed \u201cevent-date.\u201d<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">Ensure the field has the <strong>Save as timestamp<\/strong> toggle activated in the <strong>Meta fields<\/strong> settings of the selected <strong>CPT<\/strong> (<strong><i>WordPress Dashboard &gt JetEngine &gt Post Types<\/i><\/strong>) so the query will work.<\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-1024x640.webp\" alt=\"save as timestamp toggle\" class=\"wp-image-42279\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>To display only future or past events, the query should be built in <strong><em>WordPress Dashboard &gt; JetEngine &gt; Query Builder<\/em><\/strong>.<\/p>\n\n\n\n<p>In the <strong>Queries List <\/strong>directory, click the \u201c<strong>Add New<\/strong>\u201d button to open the editing area.<\/p>\n\n\n\n<p>In the <strong>General Settings<\/strong> section, complete the <strong>Name <\/strong>field and set the \u201cPosts\u201d <strong>Query Type<\/strong>.&nbsp;<\/p>\n\n\n\n<p>Then, in the following <strong>Posts Query <\/strong>section, head to the <strong>General <\/strong>tab and pick the <strong>Post Type <\/strong>you are working with. It should be the same as the <strong>Listing source<\/strong> set during the creation of a <strong>Listing item<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting-1024x640.webp\" alt=\"post type setting\" class=\"wp-image-42280\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/post-type-setting.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The following settings vary on the type of content you want to display. So, move on to the needed part of the article.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"future-events\">Future Events<\/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>To showcase future events, navigate to the <strong>Meta Query <\/strong>tab and press the \u201c<strong>Add new<\/strong>\u201d button to access settings.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section-1024x640.webp\" alt=\"meta query clauses section\" class=\"wp-image-42282\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/meta-query-clauses-section.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Complete the <strong>Field key\/name <\/strong>with the meta field value of a \u201cDate\u201d <strong>Field Type<\/strong>.&nbsp;<\/p>\n\n\n\n<p>Select the \u201cGreater than\u201d <strong>Compare <\/strong>operator and press the \u201c<strong>Dynamic Tag<\/strong>\u201d button next to the <strong>Value <\/strong>field to open the options list.<\/p>\n\n\n\n<p>Among the variants, find and press the \u201cToday\u201d option.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags-1024x640.webp\" alt=\"value dynamic tags\" class=\"wp-image-42283\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/value-dynamic-tags.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Set the \u201cTimestamp\u201d as the <strong>Type <\/strong>and complete the <strong>Clause name<\/strong> with a desired value.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause-1024x640.webp\" alt=\"greater than today clause\" class=\"wp-image-42284\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/greater-than-today-clause.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Return to the <strong>General <\/strong>tab. Press the \u201c<strong>Add new sorting parameter<\/strong>\u201d button in the <strong>Order &amp; Order By <\/strong>section.<\/p>\n\n\n\n<p>Complete the <strong>Order By <\/strong>field with an \u201cOrder by meta clause\u201d option. Select the <strong>Meta Clause <\/strong>created earlier and choose the needed <strong>Order<\/strong>: \u201cFrom lowest to highlest values\u201d or \u201cFrom highest to lowest values.\u201d<\/p>\n\n\n\n<p>Press the \u201c<strong>Add\/Update Query<\/strong>\u201d button to save 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\/2023\/10\/order-by-greater-than-today-meta-clause.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause-1024x640.webp\" alt=\"order by greater than today meta clause\" class=\"wp-image-42285\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-greater-than-today-meta-clause.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"past-events\">Past Events<\/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 procedure is similar to the one for future events.<\/p>\n\n\n\n<p>In the <strong>Meta Query <\/strong>tab, complete the <strong>Field key\/name <\/strong>with the meta field value of the \u201cDate\u201d <strong>Field Type<\/strong>. Select the \u201cLess than\u201d <strong>Compare <\/strong>operator.<\/p>\n\n\n\n<p>Find and pick the \u201cToday\u201d option by hitting the \u201c<strong>Dynamic Tags<\/strong>\u201d button next to the <strong>Value <\/strong>field.<\/p>\n\n\n\n<p>Set the \u201cTimestamp\u201d <strong>Type <\/strong>and complete the <strong>Clause name <\/strong>with a desired value.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause-1024x640.webp\" alt=\"less than today clause\" class=\"wp-image-42286\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/less-than-today-clause.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Return to the <strong>General <\/strong>tab and press the \u201c<strong>Add new editing parameter<\/strong>\u201d in the <strong>Order &amp; Order By <\/strong>section.<\/p>\n\n\n\n<p>Then, pick the \u201cOrder by meta clause\u201d <strong>Order By <\/strong>option, select the <strong>Meta Clause <\/strong>by its name, and choose the needed <strong>Order<\/strong> option.<\/p>\n\n\n\n<p>Save the query by clicking the \u201c<strong>Add\/Update Query<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause-1024x640.webp\" alt=\"order by less than today meta clause\" class=\"wp-image-42287\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/order-by-less-than-today-meta-clause.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"posts-of-the-previous-month\">Posts of the Previous Month<\/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>To build the query for the previous month&#8217;s posts, head to the <strong>Date Query <\/strong>tab and hit the \u201c<strong>Add new<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section-1024x640.webp\" alt=\"data query clauses section\" class=\"wp-image-42288\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/data-query-clauses-section.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Complete the <strong>After <\/strong>field with the \u201cfirst day of previous month midnight\u201d value and <strong>Before <\/strong>with the \u201cfirst day of this month midnight\u201d value.<\/p>\n\n\n\n<p>Set the \u201cEqual\u201d <strong>Compare <\/strong>operator and pick the \u201cPost Date\u201d option as <strong>Column<\/strong>.&nbsp;<\/p>\n\n\n\n<p>Don\u2019t forget to save the query by pressing the \u201c<strong>Add\/Update Query<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings-1024x640.webp\" alt=\"date query settings\" class=\"wp-image-42293\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/date-query-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"page-editing\">Page Editing<\/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>To finalize, go to the page editor and place the <strong>Listing Grid <\/strong>widget<strong> <\/strong>there if this wasn\u2019t done before.<\/p>\n\n\n\n<p>Then, in the <strong>Listing Grid <\/strong>widget\u2019s <strong>Content <\/strong>settings, open the <strong>Custom Query <\/strong>tab and activate the <strong>Use Custom Query <\/strong>toggle.<\/p>\n\n\n\n<p>Pick the needed option in the <strong>Custom Query <\/strong>field.&nbsp;<\/p>\n\n\n\n<p>For instance, we have added three <strong>Listing Grids<\/strong>. Two of them are identical and show future and past events. They display the \u201cevent-date\u201d meta field data. The third <strong>Listing Grid<\/strong> is slightly different. Instead of showing the \u201cevent-date,\u201d it shows the date when the post was published.<\/p>\n\n\n\n<p>For every <strong>Listing Grid<\/strong>, a different query is used.<\/p>\n\n\n\n<p>Click 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\/2023\/10\/custom-query-section.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section-1024x640.webp\" alt=\"custom query section\" class=\"wp-image-42289\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/custom-query-section.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"timezone-sync\">Timezone Sync<\/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>If the events are displayed incorrectly (for example, future events appear as past ones or vice versa), the issue may be related to timezone differences.<\/p>\n\n\n\n<p>This can happen when the website uses one timezone, while the user operates in another timezone. In such cases, the \u201cToday\u201d dynamic value is calculated based on the website\u2019s timezone, not the user\u2019s local time.<\/p>\n\n\n\n<p>For instance, if the current time is 22:00 in a UTC-4 timezone, it may already be considered the next day in the UTC+0 zone (as it is 02:00). As a result, events scheduled for \u201ctoday\u201d may be treated as future events.<\/p>\n\n\n\n<p>To fix this, go to <strong><em>WordPress Dashboard &gt; Settings &gt; General <\/em><\/strong>and find the <strong>Timezone <\/strong>field. Ensure the selected value matches your timezone.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings-1024x640.webp\" alt=\"timezone field in the wordpress general settings\" class=\"wp-image-51769\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2026\/05\/timezone-field-in-the-wordpress-general-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"result-on-the-front-end\">Result on the Front End<\/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>Check the result on the front page. The displayed content will differ depending on the query you have applied.<\/p>\n\n\n\n<p>If you build a future events query, it will only show events where the \u201cDate\u201d meta field is set to the day after \u201cToday.\u201d<\/p>\n\n\n\n<p>For this tutorial, we created a future events query on September 27, 2023, so it displays events occurring after that date.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events-1024x640.webp\" alt=\"future events\" class=\"wp-image-42290\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/future-events.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>If the past events query is selected as <strong>Custom Query<\/strong>, it will display only events that have already taken place.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events-1024x640.webp\" alt=\"past events\" class=\"wp-image-42291\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/past-events.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The last query will display only events that happened in the previous month.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month-1024x640.webp\" alt=\"posts of the previous month\" class=\"wp-image-42292\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/posts-of-previous-month.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">FAQ<\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1779257162438\"><strong class=\"schema-faq-question\"><strong>Why does the query return no results?<\/strong><\/strong> <p class=\"schema-faq-answer\">Make sure that: correct <strong>Post Type<\/strong> is selected in the query; meta field name matches exactly (e.g., \u201cevent-date\u201d); posts actually contain values in that meta field; \u201cSave as timestamp\u201d option is enabled for the \u201cDate\u201d field.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1779257187763\"><strong class=\"schema-faq-question\"><strong>Why are events displayed incorrectly depending on the time of day?<\/strong><\/strong> <p class=\"schema-faq-answer\">This can be caused by a timezone mismatch between your website settings and your local time. The \u201cToday\u201d value is calculated based on the site&#8217;s timezone, which may shift the results (e.g., showing tomorrow\u2019s events earlier).<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1779257204734\"><strong class=\"schema-faq-question\"><strong>Why is sorting not working correctly?<\/strong><\/strong> <p class=\"schema-faq-answer\">Ensure that: sorting is set to \u201cOrder by meta clause\u201d; correct <strong>Meta Clause<\/strong> is selected; meta field stores values as timestamps; order direction (ascending\/descending) matches your goal.<\/p> <\/div> <\/div>\n\n\n\n<p>That\u2019s all about showcasing future and past events in <em>JetEngine<\/em>\u2019s <strong>Listing Grid <\/strong>widget on your WordPress website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Showcase future and paste events based on the date in the corresponding CPT&#8217;s \u201cDate\u201d field. Output events in the Listing Grid and set query in it.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","tipstricks-tags":[359],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Display Future and Past Events in the Listing Grid Widget \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"From this article, you will learn how to show past events and future events in the Listing Grid widget from the JetEngine plugin on your WordPress website.\" \/>\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\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Display Future and Past Events in the Listing Grid Widget \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"From this article, you will learn how to show past events and future events in the Listing Grid widget from the JetEngine plugin on your WordPress website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-20T06:09:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-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=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/\",\"name\":\"How to Display Future and Past Events in the Listing Grid Widget \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2021-03-26T16:09:03+00:00\",\"dateModified\":\"2026-05-20T06:09:19+00:00\",\"description\":\"From this article, you will learn how to show past events and future events in the Listing Grid widget from the JetEngine plugin on your WordPress website.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257162438\"},{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257187763\"},{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257204734\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tips & tricks\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Displaying Future and Past Events in the Listing Grid 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\/\"}},{\"@type\":\"Question\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257162438\",\"position\":1,\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257162438\",\"name\":\"Why does the query return no results?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Make sure that: correct <strong>Post Type<\/strong> is selected in the query; meta field name matches exactly (e.g., \u201cevent-date\u201d); posts actually contain values in that meta field; \u201cSave as timestamp\u201d option is enabled for the \u201cDate\u201d field.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257187763\",\"position\":2,\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257187763\",\"name\":\"Why are events displayed incorrectly depending on the time of day?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"This can be caused by a timezone mismatch between your website settings and your local time. The \u201cToday\u201d value is calculated based on the site's timezone, which may shift the results (e.g., showing tomorrow\u2019s events earlier).\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257204734\",\"position\":3,\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257204734\",\"name\":\"Why is sorting not working correctly?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Ensure that: sorting is set to \u201cOrder by meta clause\u201d; correct <strong>Meta Clause<\/strong> is selected; meta field stores values as timestamps; order direction (ascending\/descending) matches your goal.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Display Future and Past Events in the Listing Grid Widget \u2014 JetEngine | Crocoblock","description":"From this article, you will learn how to show past events and future events in the Listing Grid widget from the JetEngine plugin on your WordPress website.","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\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/","og_locale":"en_US","og_type":"article","og_title":"How to Display Future and Past Events in the Listing Grid Widget \u2014 JetEngine | Crocoblock","og_description":"From this article, you will learn how to show past events and future events in the Listing Grid widget from the JetEngine plugin on your WordPress website.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/","og_site_name":"Help Center","article_modified_time":"2026-05-20T06:09:19+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/10\/save-as-timestamp-toggle-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/","url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/","name":"How to Display Future and Past Events in the Listing Grid Widget \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2021-03-26T16:09:03+00:00","dateModified":"2026-05-20T06:09:19+00:00","description":"From this article, you will learn how to show past events and future events in the Listing Grid widget from the JetEngine plugin on your WordPress website.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257162438"},{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257187763"},{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257204734"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Tips & tricks","item":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/"},{"@type":"ListItem","position":3,"name":"Displaying Future and Past Events in the Listing Grid 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\/"}},{"@type":"Question","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257162438","position":1,"url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257162438","name":"Why does the query return no results?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Make sure that: correct <strong>Post Type<\/strong> is selected in the query; meta field name matches exactly (e.g., \u201cevent-date\u201d); posts actually contain values in that meta field; \u201cSave as timestamp\u201d option is enabled for the \u201cDate\u201d field.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257187763","position":2,"url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257187763","name":"Why are events displayed incorrectly depending on the time of day?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"This can be caused by a timezone mismatch between your website settings and your local time. The \u201cToday\u201d value is calculated based on the site's timezone, which may shift the results (e.g., showing tomorrow\u2019s events earlier).","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257204734","position":3,"url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/fail-to-display-future-and-past-events-in-the-listing-grid-widget\/#faq-question-1779257204734","name":"Why is sorting not working correctly?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Ensure that: sorting is set to \u201cOrder by meta clause\u201d; correct <strong>Meta Clause<\/strong> is selected; meta field stores values as timestamps; order direction (ascending\/descending) matches your goal.","inLanguage":"en-US"},"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks\/836"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/tips-and-tricks"}],"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=836"}],"wp:term":[{"taxonomy":"tipstricks-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tipstricks-tags?post=836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}