{"id":48162,"date":"2025-06-10T10:07:42","date_gmt":"2025-06-10T10:07:42","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=48162"},"modified":"2026-02-24T15:53:09","modified_gmt":"2026-02-24T15:53:09","slug":"how-to-assign-ajax-search-to-current-query-listing-grid","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/","title":{"rendered":"How to Assign Ajax Search to the Current Query Listing Grid"},"content":{"rendered":"<div class=\"note-banner d-flex border-bold border-jetthemecore 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=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">This use case is based on the <a href=\"https:\/\/crocoblock.com\/dynamic-templates\/balirento\/\"><strong>BaliRento<\/strong><\/a> dynamic template.<\/p><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"build-a-query\">Build 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>Initially, let\u2019s build a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">query<\/a> for the listing that will be displayed on the archive page. To do it, proceed to the <strong><em>WordPress Dashboard > JetEngine > Query Builder <\/em><\/strong>and press the \u201c<strong>Add New<\/strong>\u201d button.<\/p>\n\n\n\n<p>Name the query (here, \u201cProperties Current Query\u201d) and set the <strong>Query Type <\/strong>to \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-current-wp-query-type-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Current WP Query<\/a>\u201d.<\/p>\n\n\n\n<p>Press the \u201c<strong>Add new page type<\/strong>\u201d button in the <strong>Posts per page <\/strong>block of the <strong>Current WP Query <\/strong>section.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-1024x640.webp\" alt=\"general settings section of the current wp query in the query builder\" class=\"wp-image-48163\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Pick the name of the post type you work with in the <strong>Page Type <\/strong>dropdown (for example, we select \u201cProperties.\u201d)<\/p>\n\n\n\n<p>Also, specify the <strong>Posts number <\/strong>that will be displayed later in the listing.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder-1024x640.webp\" alt=\"current wp query section in the query builder\" class=\"wp-image-48164\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/current-wp-query-section-in-the-query-builder.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Ultimately, press the \u201c<strong>Add Query<\/strong>\u201d button.<\/p>\n\n\n\n<p>Then, we want to add another query that will be used for the second listing displayed on the search page. To do so, proceed once again to the <strong><em>WordPress Dashboard > JetEngine > Query Builder <\/em><\/strong>and press \u201c<strong>Add New<\/strong>\u201d.\u00a0<\/p>\n\n\n\n<p>Give a name to the query (here, \u201cProperties Query\u201d) and select the <strong>Query Type<\/strong> (here, the default \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-posts-query-type\/\" target=\"_blank\" rel=\"noreferrer noopener\">Posts Query<\/a>\u201d).<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder-1024x640.webp\" alt=\"general settings section in the query builder\" class=\"wp-image-48165\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-in-the-query-builder.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Next, we select the <strong>Post Type <\/strong>that will be displayed in the listing. Here, we select the \u201cProperties\u201d option.<\/p>\n\n\n\n<p>Also, we press the \u201c<strong>Add new sorting parameter<\/strong>\u201d button, select the \u201cBy title\u201d option in the <strong>Order By <\/strong>field, and the \u201cFrom lowest to highest values (1, 2, 3; a, b, c)\u201d option in the <strong>Order <\/strong>field.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab-1024x640.webp\" alt=\"general tab of the posts tab\" class=\"wp-image-48191\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-posts-tab.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Next, we also head to the <strong>Pagination <\/strong>tab and specify the \u201c3\u201d value in the <strong>Posts Per Page <\/strong>field so only three posts will be visible in the listing.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab-1024x640.webp\" alt=\"pagination tab of the posts tab\" class=\"wp-image-48166\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/pagination-tab-of-the-posts-tab.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>When the query is ready, press the \u201c<strong>Add Query<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-an-archive-page\">Create an Archive Page<\/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>Next, you should build an archive page for the post type you work with if you haven\u2019t done it before. It can be done with the help of the <a href=\"https:\/\/crocoblock.com\/plugins\/jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetThemeCore<\/em><\/a><em> <\/em>plugin.<\/p>\n\n\n\n<p>Go to <strong><em>WordPress Dashboard &gt; Crocoblock &gt; Theme Builder <\/em><\/strong>and press the \u201c<strong>Create new page template<\/strong>\u201d button.<\/p>\n\n\n\n<p>In the appeared window, press the \u201c<strong>Add Condition<\/strong>\u201d button to specify the conditions.\u00a0<\/p>\n\n\n\n<p>Select the \u201cInclude,\u201d \u201cArchive,\u201d and \u201cAll (Your post type name) Archive\u201d options and click the \u201c<strong>Create<\/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\/2025\/06\/create-page-template-conditions.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions-1024x640.webp\" alt=\"create page template conditions\" class=\"wp-image-48167\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-page-template-conditions.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>You can set the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-a-custom-header-with-jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\">header<\/a> and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-a-footer-with-jetthemecore-for-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\">footer<\/a> if desired by pressing the \u201c<strong>Override theme header\/footer<\/strong>\u201d buttons.<\/p>\n\n\n\n<p>However, we will focus on the template\u2019s body, so let\u2019s set it right away. To do so, click the \u201c<strong>Override theme body<\/strong>\u201d button.<\/p>\n\n\n\n<p>In the opened menu, select either the \u201c<strong>Create template<\/strong>\u201d button to build a template from scratch or the \u201c<strong>Add from library<\/strong>\u201d button to pick the previously created template from the list. In our case, we push the \u201c<strong>Create template<\/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\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder-1024x640.webp\" alt=\"create template and add from library buttons in the theme builder\" class=\"wp-image-48168\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-template-and-add-from-library-buttons-in-the-theme-builder.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Set the template\u2019s name (optional) and select the preferred editor (here, we pick \u201cElementor\u201d). Then, press the \u201c<strong>Create<\/strong>\u201d and \u201c<strong>Go to editor<\/strong>\u201d buttons.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up-1024x640.webp\" alt=\"create a template pop-up\" class=\"wp-image-48169\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/create-a-template-pop-up.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the editor, we first add a <strong>Heading <\/strong>with the \u201cSearch results:\u201d text to indicate that the following listing will contain the search results.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading-1024x640.webp\" alt=\"the first heading\" class=\"wp-image-48170\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-heading.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Add the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid <\/strong>widget<\/a>\/<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/listing-grid-block-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">block<\/a> to the page.\u00a0<\/p>\n\n\n\n<p>Select the recently created <strong>Listing <\/strong>in the corresponding field (here, \u201cProperties Listing\u201d).<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid-1024x640.webp\" alt=\"general tab of the first listing grid\" class=\"wp-image-48171\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-tab-of-the-first-listing-grid.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Head to the <strong>Custom Query <\/strong>tab and activate the <strong>Use Custom Query <\/strong>toggle.\u00a0<\/p>\n\n\n\n<p>Pick the previously built query (in our case, \u201cProperties Current Query\u201d) in the <strong>Custom Query <\/strong>dropdown list.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid-1024x640.webp\" alt=\"custom query tab of the first listing grid\" class=\"wp-image-48172\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-first-listing-grid.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Then, proceed to the <strong>Advanced <\/strong>tab and complete the <strong>CSS ID <\/strong>field with the desired value, which will later connect this listing with the <strong>Ajax Search<\/strong>. For instance, \u201clisting-grid-1\u201d.<\/p>\n\n\n\n<p>Adjust other widget settings as well if needed.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid-1024x640.webp\" alt=\"advanced tab of the first listing grid\" class=\"wp-image-48173\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/advanced-tab-of-the-first-listing-grid.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Next, we add one more <strong>Heading <\/strong>to the page. This time with the \u201cWe recommend:\u201d text.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading-1024x640.webp\" alt=\"the second heading\" class=\"wp-image-48174\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-heading.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Then, we add one more <strong>Listing Grid <\/strong>widget to the page.&nbsp;<\/p>\n\n\n\n<p>Select the desired <strong>Listing <\/strong>in the corresponding field. For example, we select the same \u201cProperties Listing.\u201d<\/p>\n\n\n\n<p>In the <strong>Custom Query <\/strong>tab, we select the \u201cProperties Query\u201d that we have built before for this listing.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid-1024x640.webp\" alt=\"custom query tab of the second listing grid\" class=\"wp-image-48175\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-query-tab-of-the-second-listing-grid.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Next, we proceed to the <strong>Posts Query <\/strong>tab. You can adjust any other query for this <strong>Listing Grid <\/strong>except the \u201cCurrent WP Query\u201d one in the <strong>Custom Query <\/strong>tab.<\/p>\n\n\n\n<p>Here, we press the \u201c<strong>Add Item<\/strong>\u201d button and select the \u201cMeta Query\u201d <strong>Type<\/strong>. The <strong>Key (name\/ID) <\/strong>is set to \u201ctop\u201d here as it is the \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#radio\" target=\"_blank\" rel=\"noreferrer noopener\">Radio<\/a>\u201d meta field\u2019s <strong>Name\/ID<\/strong>, the <strong>Operator <\/strong>is set to \u201cEqual\u201d, and the <strong>Value <\/strong>to \u201cyes\u201d. So, only those posts that have the \u201cyes\u201d option selected in the \u201cTop\u201d meta field will be shown in the <strong>Listing Grid<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid-1024x640.webp\" alt=\"posts query tab of the second listing grid\" class=\"wp-image-48176\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/posts-query-tab-of-the-second-listing-grid.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Adjust other widget settings if needed and save the page by pressing the \u201c<strong>Publish<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"add-a-search-page\">Add a Search Page<\/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>Navigate to the <strong><em>WordPress Dashboard > Pages <\/em><\/strong>directory and create a page by clicking the \u201c<strong>Add New<\/strong>\u201d button or selecting an already existing page.<\/p>\n\n\n\n<p>Add an <strong>Ajax Search <\/strong>widget to the page.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget-1024x640.webp\" alt=\"search form tab of the ajax search widget\" class=\"wp-image-48177\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/search-form-tab-of-the-ajax-search-widget.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Paste the search results URL into the <strong>Custom Search Results URL<\/strong> field. Also, specify the <strong>Listing Grid<\/strong>\u2019s ID in the <strong>Target Widget ID (optional) <\/strong>field. Here, \u201clisting-grid-1\u201d<\/p>\n\n\n\n<p>Make sure that the <strong>Source <\/strong>used for the <strong>Listing Grid <\/strong>and the <strong>Ajax Search <\/strong>is the same.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields-1024x640.webp\" alt=\"custom search results url and target widget id fields\" class=\"wp-image-48178\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/custom-search-results-url-and-target-widget-id-fields.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Customize the widget and page additionally if needed, and press the \u201c<strong>Publish<\/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\/2025\/06\/ajax-search-style-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings-1024x640.webp\" alt=\"ajax search style settings\" class=\"wp-image-48179\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-style-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"check-the-result\">Check the Result<\/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>Head to the page where the <strong>Ajax Search <\/strong>is located.<\/p>\n\n\n\n<p>Enter your request in the search input area and press the \u201c<strong>Search<\/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\/2025\/06\/ajax-search-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end-1024x640.webp\" alt=\"ajax search on the front end\" class=\"wp-image-48180\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/ajax-search-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Now, you will be redirected to the \u201cSearch Results\u201d archive page. Here, you will see only the first listing filtered, which is the needed one.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end-1024x640.webp\" alt=\"the first listing on the front end\" class=\"wp-image-48181\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-first-listing-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The second listing will be left as is.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end-1024x640.webp\" alt=\"the second listing on the front end\" class=\"wp-image-48182\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/the-second-listing-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>That\u2019s all about assigning an Ajax Query to the Listing Grid Current Query to limit search results on the archive page with the help of the <em>JetSearch <\/em>plugin for WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to assign the Ajax Search to the specific Listing Grid with the help of JetSearch and JetEngine plugins for WordPress.<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[430],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Assign Ajax Search to Current Query Listing Grid \u2014 JetSearch | Crocoblock<\/title>\n<meta name=\"description\" content=\"From this guide, learn how to assign the Ajax Search from JetSearch to a specific Listing Grid to limit search results on a WordPress Archive page.\" \/>\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\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Assign Ajax Search to Current Query Listing Grid \u2014 JetSearch | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"From this guide, learn how to assign the Ajax Search from JetSearch to a specific Listing Grid to limit search results on a WordPress Archive page.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-24T15:53:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-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=\"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\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/\",\"name\":\"How to Assign Ajax Search to Current Query Listing Grid \u2014 JetSearch | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2025-06-10T10:07:42+00:00\",\"dateModified\":\"2026-02-24T15:53:09+00:00\",\"description\":\"From this guide, learn how to assign the Ajax Search from JetSearch to a specific Listing Grid to limit search results on a WordPress Archive page.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/#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 Assign Ajax Search to the Current Query Listing Grid\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Assign Ajax Search to Current Query Listing Grid \u2014 JetSearch | Crocoblock","description":"From this guide, learn how to assign the Ajax Search from JetSearch to a specific Listing Grid to limit search results on a WordPress Archive page.","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\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/","og_locale":"en_US","og_type":"article","og_title":"How to Assign Ajax Search to Current Query Listing Grid \u2014 JetSearch | Crocoblock","og_description":"From this guide, learn how to assign the Ajax Search from JetSearch to a specific Listing Grid to limit search results on a WordPress Archive page.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/","og_site_name":"Help Center","article_modified_time":"2026-02-24T15:53:09+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/06\/general-settings-section-of-the-current-wp-query-in-the-query-builder-1024x640.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\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/","name":"How to Assign Ajax Search to Current Query Listing Grid \u2014 JetSearch | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2025-06-10T10:07:42+00:00","dateModified":"2026-02-24T15:53:09+00:00","description":"From this guide, learn how to assign the Ajax Search from JetSearch to a specific Listing Grid to limit search results on a WordPress Archive page.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-assign-ajax-search-to-current-query-listing-grid\/#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 Assign Ajax Search to the Current Query Listing Grid"}]},{"@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\/48162"}],"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=48162"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=48162"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=48162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}