{"id":9576,"date":"2019-06-03T12:19:59","date_gmt":"2019-06-03T12:19:59","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=9576"},"modified":"2024-05-13T07:16:35","modified_gmt":"2024-05-13T07:16:35","slug":"setting-the-posts-query-order-and-offset-posts-query-type-overview","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/","title":{"rendered":"How to Order and Offset Posts Query Type in the Listing Grid Widget"},"content":{"rendered":"\n<p>First of all, you have to create a custom field with <a href=\"https:\/\/crocoblock.com\/plugins\/jetengine\/\" target=\"_blank\" rel=\"noopener noreferrer\"><em>JetEngine<\/em><\/a>. Read <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>Then, you should create a listing template and apply it to the posts with the help of the <a href=\"https:\/\/crocoblock.com\/widgets\/listing-grid\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Listing Grid<\/strong><\/a> widget. To learn how to perform it, go to this <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-functionality-how-to-create-a-new-listing-to-apply-for-the-certain-post-type\/\" target=\"_blank\" rel=\"noopener noreferrer\">tutorial<\/a>.<\/p>\n\n\n<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\">The following tabs (<strong>Posts Query<\/strong>, <strong>Terms Query<\/strong>, <strong>Users Query<\/strong>, <strong>Content Types Query<\/strong>) concerning query settings are legacy. We recommend using the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\">Query Builder<\/a> functionality and <strong>Custom Query<\/strong> tab, respectively.<\/p><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-posts-query-order-and-offset\">Setting Posts Query: Order and Offset<\/h2>\n\n\n\n<p>Now, you should open the listing with the <strong>Elementor<\/strong> editor and choose the necessary listing from the dropdown menu. Customize it as you want to.<\/p>\n\n\n\n<p>Proceed to the <strong>Content &gt; Posts Query<\/strong> tab and select the <strong>Order &amp; Offset<\/strong> type here.<\/p>\n\n\n\n<p>Now, go to the Posts Offset menu. When you set the concrete number in this select menu, you hide this number of posts from displaying on the page. For example, you set \u20181\u2019 in the Posts Offset menu, and the first post in the listing will disappear, and so on. (Note that if you change the order from DESC to ASC and vice versa, the post from the first place will be hidden. Look at the end of the tutorial to see how it works.)<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/posts-and-offset-3.png\" alt=\"order and offset settings\">\n\n\n\n<p>The next option is called <strong>Order<\/strong> and allows you to change the order from descending to ascending.<\/p>\n\n\n\n<p>To set the correct order, we should choose the criteria for this. In the <strong>Order by<\/strong> dropdown menu, you are able to set the needed option or even set the random one.<\/p>\n\n\n\n<p>You can order the posts in any way. For example, by the <strong>Title\/Name<\/strong> (it means alphabetically), <strong>Date<\/strong> (as we\u2019ve seen above), or by the <strong>Meta field<\/strong> (which can be either data, text, or numerical value, for instance).<\/p>\n\n\n\n<p>To order posts by date, choose the <strong>Meta value<\/strong> option in the <strong>Order by<\/strong> menu. The <strong>Meta key to order<\/strong> field, you should fill in the <strong>Name \/ ID<\/strong> of the relevant meta field. In our case, it\u2019s <strong>\u2018custom-dates\u2019<\/strong> one. Don\u2019t forget to choose the <strong>Date option<\/strong> in the <strong>Meta type<\/strong> menu.<\/p>\n\n\n\n<p>What is more, it\u2019s possible to widen the opportunities by combining the <strong>Order &amp; Offset<\/strong> posts query type with others. You can simply do it by clicking on <strong>Add new item<\/strong> button and customizing the settings to your needs.<\/p>\n\n\n\n<p>Now you know how to order and offset posts Query Type in the Listing Grid widget.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continue to read this tutorial in case you want to learn how to set order and offset posts query type in the Posts Query using JetEngine functionality for Elementor editor.<\/p>\n","protected":false},"author":11,"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>Order &amp; Offset Posts Query Type Overview \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to set advanced order and offset posts query parameters for Listing Grid widget to present posts in a certain order.\" \/>\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\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Order &amp; Offset Posts Query Type Overview \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to set advanced order and offset posts query parameters for Listing Grid widget to present posts in a certain order.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-13T07:16:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/posts-and-offset-3.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 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\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/\",\"name\":\"Order & Offset Posts Query Type Overview \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-06-03T12:19:59+00:00\",\"dateModified\":\"2024-05-13T07:16:35+00:00\",\"description\":\"Learn how to set advanced order and offset posts query parameters for Listing Grid widget to present posts in a certain order.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/#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 Order and Offset Posts Query Type 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\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Order & Offset Posts Query Type Overview \u2014 JetEngine | Crocoblock","description":"Learn how to set advanced order and offset posts query parameters for Listing Grid widget to present posts in a certain order.","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\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/","og_locale":"en_US","og_type":"article","og_title":"Order & Offset Posts Query Type Overview \u2014 JetEngine | Crocoblock","og_description":"Learn how to set advanced order and offset posts query parameters for Listing Grid widget to present posts in a certain order.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/","og_site_name":"Help Center","article_modified_time":"2024-05-13T07:16:35+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/posts-and-offset-3.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/","name":"Order & Offset Posts Query Type Overview \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-06-03T12:19:59+00:00","dateModified":"2024-05-13T07:16:35+00:00","description":"Learn how to set advanced order and offset posts query parameters for Listing Grid widget to present posts in a certain order.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/setting-the-posts-query-order-and-offset-posts-query-type-overview\/#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 Order and Offset Posts Query Type 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\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/9576"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=9576"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=9576"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=9576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}