{"id":40617,"date":"2023-06-27T13:11:03","date_gmt":"2023-06-27T13:11:03","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=40617"},"modified":"2024-03-19T13:18:17","modified_gmt":"2024-03-19T13:18:17","slug":"query-builder-current-wp-query-type-overview","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/","title":{"rendered":"Query Builder Current WP Query Type Overview"},"content":{"rendered":"\n<p>A query can be built by following <strong><em>WordPress Dashboard &gt; Query Builder &gt; Add New<\/em><\/strong>.&nbsp;In the <strong>General Settings <\/strong>section, the global default settings are presented:<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/03\/current-wp-query-type-full.png\" alt=\"current wp query type\">\n\n\n\n<ul>\n<li><strong>Name <\/strong>\u2014 a name of the query that will be displayed in the <strong>Query Builder <\/strong>dashboard;<\/li>\n\n\n\n<li><strong>Description <\/strong>\u2014 a description field that can be completed as an additional explanation to the <strong>Name<\/strong>. It will be shown only in the current dashboard;<\/li>\n\n\n\n<li><strong>Query Type <\/strong>\u2014 here, a \u201cCurrent WP Query\u201d option should be selected;<\/li>\n\n\n\n<li><strong>Query ID <\/strong>\u2014 an optional field that can be used as a tool for connecting the current query to the <a href=\"https:\/\/crocoblock.com\/plugins\/jetsmartfilters\/\"><em>JetSmartFilters<\/em><\/a><em> <\/em>filter widget\/block. The value mentioned in this field should be the same as the one completed during the filter setup.<\/li>\n<\/ul>\n\n\n\n<p>The next section is called <strong>Current WP Query<\/strong>. As mentioned in the dashboard, the query always inherits the current WP Query object, so there are no settings for this query type except <strong>Posts per page<\/strong>.<\/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 settings adjusted here will be applied to the global WP Query object of the selected page type; they override other widgets and settings that can be theoretically placed on the page. These are assigned globally regardless of whether the Current WP Query will then be used or not on the type of page for which the number of posts is assigned.<br \/>\nIf two queries are applied to the same page type, only the last one will work.<\/p><\/div><\/div>\n\n\n\n<p>To set up a new page type, the corresponding \u201c<strong>Add new page type<\/strong>\u201d button should be pressed.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/03\/current-wp-query-settings-full.png\" alt=\"current wp query settings\">\n\n\n\n<p>In the first <strong>Page Type <\/strong>field, the needed item can be selected, to which the custom posts number will be applied. Among the options are \u201cPost type archives,\u201d \u201cTaxonomy archives,\u201d and \u201cMisc\u201d sections that include available post types, taxonomies, author archives, and search results correspondingly.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/03\/page-type-drop-down-list-full.png\" alt=\"page type drop-down list\">\n\n\n\n<p>In the <strong>Posts Number <\/strong>field, the exact number of the desired posts should be typed in. This number of posts will be shown on any type of listing used for the selected page type.&nbsp;<br>If any other item should be added, the \u201c<strong>Add new page type<\/strong>\u201d button should be clicked.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/03\/add-new-page-type-settings-full.png\" alt=\"add new page type settings\">\n\n\n\n<p>That\u2019s all about the <strong>Current WP Query <\/strong>available as part of the <strong>Query Builder<\/strong> functionality of the <em>JetEngine <\/em>plugin for your WordPress website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Current WP Query is a feature available with the JetEngine plugin that allows users to display the desired amount of posts in the grid for the needed page type.<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[405],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Query Builder Current WP Query Type Overview \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"From this guide, you will find out about the Query Builder Current WP Query Type available with the JetEngine plugin for 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\/jetengine\/query-builder-current-wp-query-type-overview\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Query Builder Current WP Query Type Overview \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"From this guide, you will find out about the Query Builder Current WP Query Type available with the JetEngine plugin for your WordPress website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-19T13:18:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/03\/current-wp-query-type-full.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=\"3 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\/query-builder-current-wp-query-type-overview\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/\",\"name\":\"Query Builder Current WP Query Type Overview \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-06-27T13:11:03+00:00\",\"dateModified\":\"2024-03-19T13:18:17+00:00\",\"description\":\"From this guide, you will find out about the Query Builder Current WP Query Type available with the JetEngine plugin for your WordPress website.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-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\":\"Query Builder Current WP Query Type Overview\"}]},{\"@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":"Query Builder Current WP Query Type Overview \u2014 JetEngine | Crocoblock","description":"From this guide, you will find out about the Query Builder Current WP Query Type available with the JetEngine plugin for 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\/jetengine\/query-builder-current-wp-query-type-overview\/","og_locale":"en_US","og_type":"article","og_title":"Query Builder Current WP Query Type Overview \u2014 JetEngine | Crocoblock","og_description":"From this guide, you will find out about the Query Builder Current WP Query Type available with the JetEngine plugin for your WordPress website.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/","og_site_name":"Help Center","article_modified_time":"2024-03-19T13:18:17+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/03\/current-wp-query-type-full.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/","name":"Query Builder Current WP Query Type Overview \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-06-27T13:11:03+00:00","dateModified":"2024-03-19T13:18:17+00:00","description":"From this guide, you will find out about the Query Builder Current WP Query Type available with the JetEngine plugin for your WordPress website.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-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":"Query Builder Current WP Query Type Overview"}]},{"@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\/40617"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/9"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=40617"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=40617"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=40617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}