{"id":30756,"date":"2024-11-05T14:25:08","date_gmt":"2024-11-05T14:25:08","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=30756"},"modified":"2024-11-05T14:31:45","modified_gmt":"2024-11-05T14:31:45","slug":"break-listing-by-months-add-on","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/","title":{"rendered":"How to Break Listing by Months"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>The <em>Break Listing by Months<\/em> addon for the <em>JetEngine<\/em> plugin divides the <strong>(Custom Post Types) CPT<\/strong> or WordPress post listings according to the publish date or the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#date\" target=\"_blank\" rel=\"noreferrer noopener\">date in the meta field<\/a>.<\/p>\n\n\n\n<p>Additionally, you can extend the addon functionality for any object type, apply filters, or sort posts.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"downloading-and-installing-the-addon\">Downloading and Installing the Addon<\/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<h3 class=\"wp-block-heading\" id=\"downloading-the-addon\">Downloading the addon<\/h3>\n\n\n\n<p>Download this addon for free using the <a href=\"https:\/\/github.com\/MjHead\/jet-engine-break-listing-by-months\" target=\"_blank\" rel=\"noreferrer noopener\">jet-engine-break-listing-by-months<\/a> link.<\/p>\n\n\n\n<p>Press the \u201c<strong>Code<\/strong>\u201d button to unroll the drop-down menu. Then, press the \u201c<strong>Download Zip<\/strong>\u201d button to download the addon.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading.webp\" alt=\"jetengine dev tools break listing by months add on downloading\" class=\"wp-image-46000\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Also, it can be downloaded from the <a href=\"https:\/\/crocoblock.com\/freemium\/tools\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>DevTools<\/strong><\/a> page, which stores all free addons.<\/p>\n\n\n\n<p>Then, rename the addon from \u201cjet-engine-break-listing-by-month-master\u201d to \u201cjet-engine-break-listing-by-month.\u201d<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installing-the-addon\">Installing the addon<\/h3>\n\n\n\n<p>Go to the <strong>WordPress Dashboard<\/strong> and navigate to the <strong>Add New Plugin<\/strong> tab in the <strong>Plugins<\/strong> section.&nbsp;<\/p>\n\n\n\n<p>Install and activate the addon as detailed in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-install-jet-plugins-via-wordpress-dashboard\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Install JetPlugins via WordPress Dashboard<\/strong><\/a> tutorial.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating.webp\" alt=\"JetEngine break listing by months addon installing and activating\" class=\"wp-image-46005\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/JetEngine-break-listing-by-months-addon-installing-and-activating-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"breaking-listings-based-on-the-posts-publish-dates\">Breaking Listings Based on the Post\u2019s Publish Dates<\/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>Breaking listings according to the post publish dates requires the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-posts-query-type\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u201cPosts\u201d custom query<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"building-a-custom-query\">Building a custom query<\/h3>\n\n\n\n<p>Navigate to the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Query Builder <\/em><\/strong>and press the <strong>\u201cAdd <\/strong><strong>N<\/strong><strong>ew<\/strong>\u201d button to create a query.<\/p>\n\n\n\n<p>Specify its <strong>Name<\/strong> (here, \u201cBreak by months\u201d) and enter \u201cbreak_months\u201d into the<strong> Query ID <\/strong>field. In the <strong>Query Type<\/strong> drop-down menu, keep the \u201cPosts Query\u201d option.<\/p>\n\n\n\n<p>Navigate to the <strong>Posts Query<\/strong> setting tab and specify the <strong>Post Type<\/strong> (e.g., \u201cPosts\u201d) and <strong>Post Status<\/strong> (here, \u201cPublished\u201d).<\/p>\n\n\n\n<p>Afterward, press the \u201c<strong>Add\/Update Query<\/strong>\u201d to save it.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts.webp\" alt=\"custom query settings for published posts\" class=\"wp-image-46003\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-published-posts-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"applying-the-custom-query-to-the-listing-of-posts-in-elementor\">Applying the custom query to the listing of posts in Elementor<\/h3>\n\n\n\n<p>Open the page with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid <\/strong>widget<\/a> for posts in the Elementor editor.\u00a0<\/p>\n\n\n\n<p>Unroll the <strong>Custom Query<\/strong> settings tab and activate the <strong>Use Custom Query<\/strong> toggle. Choose the <strong>Custom Query<\/strong> (here, \u201cBreak by months\u201d).<\/p>\n\n\n\n<p>Hit the \u201c<strong>Update<\/strong>\u201d button to save the settings.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor.webp\" alt=\"custom query settings for post listing in elementor\" class=\"wp-image-46002\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-elementor-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"applying-the-custom-query-to-the-listing-of-posts-in-gutenberg\">Applying the custom query to the listing of posts in Gutenberg<\/h3>\n\n\n\n<p>Build or open the page with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/listing-grid-block-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid <\/strong>block<\/a> with posts in the WordPress block editor.\u00a0<\/p>\n\n\n\n<p>Navigate to the <strong>Custom Query<\/strong> settings tab and activate the <strong>Use Custom Query<\/strong> toggle. Select the query you need from the <strong>Custom Query<\/strong> drop-down menu (here, \u201cBreak by months\u201d).<\/p>\n\n\n\n<p>Then, hit the \u201c<strong>Save<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor.webp\" alt=\"custom query settings for post listing in block editor\" class=\"wp-image-46001\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-block-editor-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"applying-the-custom-query-to-the-listing-of-posts-in-bricks\">Applying the custom query to the listing of posts in Bricks<\/h3>\n\n\n\n<p>Build or open the page with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/showcasing-custom-posts-via-listing-grid-with-bricks\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong> element<\/a> with posts in the Bricks builder.\u00a0<\/p>\n\n\n\n<p>Navigate to the <strong>Custom Query<\/strong> settings tab and activate the <strong>Use Custom Query<\/strong> toggle. Select the query you need from the <strong>Custom Query<\/strong> drop-down menu (here, \u201cBreak by months\u201d).\u00a0<\/p>\n\n\n\n<p>Then, hit the \u201c<strong>Save<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks.webp\" alt=\"custom query settings for post listing in bricks\" class=\"wp-image-46007\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/custom-query-settings-for-post-listing-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"breaking-listings-based-on-the-date-from-the-meta-field\">Breaking Listings Based on the Date from the Meta Field<\/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>Breaking listings according to the \u201cDate\u201d custom meta field value requires adding additional data to the active theme\u2019s files and the \u201cPosts\u201d custom query.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"adding-a-meta-field\">Adding a meta field<\/h3>\n\n\n\n<p>You can add a \u201cDate\u201d meta field to the <strong>Custom Post Type (CPT)<\/strong> in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/custom-post-type-overview\/#meta-fields\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Meta Fields<\/strong><\/a> tab.<\/p>\n\n\n\n<p>To add such a meta field to the default WordPress post types, use the meta box feature as described in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-the-custom-meta-fields-to-the-posts\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Add Custom Meta Fields to WordPress Post via Meta Boxes<\/strong><\/a> tutorial.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"618\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box-1024x618.webp\" alt=\"date meta field added to wordpress posts via meta box\" class=\"wp-image-46008\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box-600x362.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/date-meta-field-added-to-wordpress-posts-via-meta-box.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Set the \u201cDate\u201d meta field for several posts so you can check the results later.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post.webp\" alt=\"setting date meta field for post\" class=\"wp-image-46011\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/setting-date-meta-field-for-post-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"defining-the-meta-field-in-the-active-themes-file\">Defining the meta field in the active theme\u2019s file<\/h3>\n\n\n\n<p>Navigate to the <strong><em>WordPress Dashboard &gt; Appearance &gt; Theme File Editor<\/em><\/strong> tab.<\/p>\n\n\n\n<p>Choose the <strong>functions.php<\/strong> file of your active theme from the <strong>Theme Files <\/strong>menu on the right side.<\/p>\n\n\n\n<p>Add a row with the following code at the end of this file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('JET_ENGINE_BREAK_BY_FIELD', 'date' );<\/code><\/pre>\n\n\n\n<p>where \u201cdate\u201d should be replaced with your \u201cDate\u201d meta field name (\u201cdate_\u201d in our case).<\/p>\n\n\n\n<p>Save changes by pressing the \u201c<strong>Update File<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing.webp\" alt=\"functionsphp file of active theme editing\" class=\"wp-image-46009\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/functionsphp-file-of-active-theme-editing-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"building-a-custom-query\">Building a custom query<\/h3>\n\n\n\n<p>Navigate to <strong><em>WordPress Dashboard &gt; JetEngine &gt; Query Builder <\/em><\/strong>and press the <strong>\u201cAdd <\/strong><strong>N<\/strong><strong>ew<\/strong>\u201d button to create a query.<\/p>\n\n\n\n<p>Specify its <strong>Name<\/strong> (here, \u201cBreak by months\u201d) and enter \u201cbreak_months\u201d to the<strong> Query ID <\/strong>field; leave the \u201cPosts Query\u201d<strong> <\/strong>option in the <strong>Query Type<\/strong> drop-down menu.<\/p>\n\n\n\n<p>Navigate to the <strong>Posts Query<\/strong> setting tab and specify the <strong>Posts Type<\/strong> (<strong>CPT<\/strong> or WordPress default post type with the \u201cDate\u201d meta field set).<\/p>\n\n\n\n<p>Press the \u201c<strong>Add\/Update Query<\/strong>\u201d to save it.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab.webp\" alt=\"general settings of edit query tab\" class=\"wp-image-46004\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/general-settings-of-edit-query-tab-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"applying-the-custom-query-to-the-listing-grid-widgetblockelement\">Applying the custom query to the Listing Grid widget\/block\/element<\/h3>\n\n\n\n<p>Open the page with the <strong>Listing Grid <\/strong>for the posts you break.&nbsp;<\/p>\n\n\n\n<p>Unroll the <strong>Custom Query<\/strong> tab and turn on the <strong>Use Custom Query<\/strong> toggle in the <strong>Listing Grid <\/strong>widget\/block\/element.&nbsp;<\/p>\n\n\n\n<p>Choose the recently created query from the <strong>CUSTOM QUERY<\/strong> drop-down list and save the changes.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field.webp\" alt=\"breaking the posts by months based on the date custom meta field\" class=\"wp-image-46006\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/breaking-the-posts-by-months-based-on-the-date-custom-meta-field-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"applying-filters\">Applying Filters<\/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<h3 class=\"wp-block-heading\" id=\"filter-creation\">Filter creation<\/h3>\n\n\n\n<p>For <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/filter-creation-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">filter creation<\/a>, the <a href=\"https:\/\/crocoblock.com\/plugins\/jetsmartfilters\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetSmartFilters<\/em><\/a> plugin should be installed and activated.<\/p>\n\n\n\n<p>Proceed to the <strong><em>WordPress Dashboard &gt; Smart Filters &gt; Add New <\/em><\/strong>tab.<\/p>\n\n\n\n<p>For this case, we create the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-a-search-filter\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Search Filter<\/strong><\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months.webp\" alt=\"search filter for posts broken by months\" class=\"wp-image-46010\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-for-posts-broken-by-months-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"search-results-filtering-in-gutenberg\">Search results filtering in Gutenberg<\/h3>\n\n\n\n<p>Proceed to the page with the <strong>Listing Grid <\/strong>block with the applied custom query that allows breaking posts by months.<\/p>\n\n\n\n<p>Add the <strong>Search <\/strong>block. Pick the recently created filter in the <strong>SELECT FILTER <\/strong>drop-down menu and the \u201cListing Grid\u201d option from the <strong>THIS FILTER FOR<\/strong>.<\/p>\n\n\n\n<p>In the <strong>QUERY ID <\/strong>field, enter \u201cbreak_months\u201d.<\/p>\n\n\n\n<p>Other filter settings can be adjusted as you need.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg.webp\" alt=\"search filter settings for the break by month feature in gutenberg\" class=\"wp-image-46015\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-gutenberg-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Open the <strong>Listing Grid <\/strong>settings and unroll the <strong>Advanced <\/strong>tab.<\/p>\n\n\n\n<p>In the <strong>CSS ID <\/strong>field, also enter \u201cbreak_months\u201d.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id.webp\" alt=\"listing grid block css id\" class=\"wp-image-46012\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-block-css-id-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Afterward, \u201c<strong>Save<\/strong>\u201d the page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"search-results-filtering-in-elementor\">Search results filtering in Elementor<\/h3>\n\n\n\n<p>Proceed to the page with the <strong>Listing Grid <\/strong>widget with the applied custom query that allows breaking posts by months.<\/p>\n\n\n\n<p>Add the <strong>Search Filter<\/strong> widget. Pick the recently created filter in the <strong>Select Filter <\/strong>drop-down menu and the \u201cJetEngine\u201d option from the <strong>This filter for<\/strong>.<\/p>\n\n\n\n<p>In the <strong>Query ID <\/strong>field, enter \u201cbreak_months\u201d.<\/p>\n\n\n\n<p>Other filter settings can be adjusted as you need.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor.webp\" alt=\"search filter settings for the break by month feature in elementor\" class=\"wp-image-46014\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-elementor-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Open the <strong>Listing Grid <\/strong>settings and switch to the <strong>Advanced <\/strong>tab.<\/p>\n\n\n\n<p>In the <strong>CSS ID <\/strong>field, also enter \u201cbreak_months\u201d.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id.webp\" alt=\"listing grid widget css id\" class=\"wp-image-46016\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-widget-css-id-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Afterward, \u201c<strong>Update<\/strong>\u201d the page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"search-results-filtering-in-bricks\">Search results filtering in Bricks<\/h3>\n\n\n\n<p>Proceed to the page with the <strong>Listing Grid <\/strong>element with the applied custom query that allows breaking posts by months.<\/p>\n\n\n\n<p>Add the <strong>Search Filter<\/strong> element. Pick the recently created filter in the <strong>Select Filter <\/strong>drop-down menu and the \u201cJetEngine\u201d option from the <strong>This filter for<\/strong>.<\/p>\n\n\n\n<p>In the <strong>Query ID <\/strong>field, enter \u201cbreak_months\u201d.<\/p>\n\n\n\n<p>Other filter settings can be adjusted as you need.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks.webp\" alt=\"search filter settings for the break by month feature in bricks\" class=\"wp-image-46017\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/search-filter-settings-for-the-break-by-month-feature-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Open the <strong>Listing Grid <\/strong>settings, switch to the <strong>STYLE <\/strong>tab, and unfold the <strong>CSS <\/strong>tab.<\/p>\n\n\n\n<p>In the <strong>CSS ID <\/strong>field, also enter \u201cbreak_months\u201d.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id.webp\" alt=\"listing grid element css id\" class=\"wp-image-46018\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-element-css-id-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Afterward, \u201c<strong>Save<\/strong>\u201d the page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"testing-the-flow\">Testing the flow<\/h3>\n\n\n\n<p>Now, you can proceed to the front end to test the flow. The search results will be divided according to the months.<\/p>\n\n\n\n<p>Additionally, you can check the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-an-archive-template-to-display-the-search-results\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Create Archive Template for Displaying Search Results<\/strong><\/a> tutorial.<\/p>\n\n\n\n<div class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months.webp\" alt=\"listing grid filtering results divided by months\" class=\"wp-image-46013\" style=\"width:840px;height:auto\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/listing-grid-filtering-results-divided-by-months-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"advanced-functionality\">Advanced Functionality<\/h2>\n\n\n\n<p>To extend the plugin functionality to any object, rewrite the getting data part according to the following code by the link:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/MjHead\/jet-engine-break-listing-by-months\/blob\/master\/jet-engine-break-listing-by-months.php#L99-L102\" target=\"_blank\" rel=\"noreferrer noopener\">jet-engine-break-listing-by-months-additional<\/a><\/p>\n\n\n\n<ul>\n<li>For <strong>CCT <\/strong>created date, you can get with <em>$post-&gt;cct_created<\/em>, custom field accessible by its name \u2013 <em>$post-&gt;my_field<\/em>;<\/li>\n\n\n\n<li>For terms and users, you need to use<em> get_term_meta<\/em> and <em>get_user_meta<\/em> functions.<\/li>\n<\/ul>\n\n\n\n<p>That\u2019s all about breaking a single <strong>Listing Grid<\/strong> widget\/block into sections separated by month based on the publish date or date from the meta fields using the <em>Break Listing by Months<\/em> addon from the <em>JetEngine<\/em> WordPress plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find out how to break a single Listing Grid into sections separated by month based on the post&#8217;s publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[394],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Break Listing by Months Add-on \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to use the JetEngine add-on to divide a single listing grid into sections separated by month based on the post&#039;s publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.\" \/>\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\/jetengine\/break-listing-by-months-add-on\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Break Listing by Months Add-on \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to use the JetEngine add-on to divide a single listing grid into sections separated by month based on the post&#039;s publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-05T14:31:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading.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=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/\",\"name\":\"Break Listing by Months Add-on \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2024-11-05T14:25:08+00:00\",\"dateModified\":\"2024-11-05T14:31:45+00:00\",\"description\":\"Learn how to use the JetEngine add-on to divide a single listing grid into sections separated by month based on the post's publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/#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 Break Listing by Months\"}]},{\"@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":"Break Listing by Months Add-on \u2014 JetEngine | Crocoblock","description":"Learn how to use the JetEngine add-on to divide a single listing grid into sections separated by month based on the post's publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.","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\/jetengine\/break-listing-by-months-add-on\/","og_locale":"en_US","og_type":"article","og_title":"Break Listing by Months Add-on \u2014 JetEngine | Crocoblock","og_description":"Learn how to use the JetEngine add-on to divide a single listing grid into sections separated by month based on the post's publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/","og_site_name":"Help Center","article_modified_time":"2024-11-05T14:31:45+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/11\/jetengine-dev-tools-break-listing-by-months-add-on-downloading.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/","name":"Break Listing by Months Add-on \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2024-11-05T14:25:08+00:00","dateModified":"2024-11-05T14:31:45+00:00","description":"Learn how to use the JetEngine add-on to divide a single listing grid into sections separated by month based on the post's publish date or the date from a meta field in Elementor, Gutenberg, and Bricks.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/break-listing-by-months-add-on\/#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 Break Listing by Months"}]},{"@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\/30756"}],"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\/8"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=30756"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=30756"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=30756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}