{"id":13062,"date":"2019-08-01T12:56:35","date_gmt":"2019-08-01T12:56:35","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=13062"},"modified":"2023-07-19T09:53:35","modified_gmt":"2023-07-19T09:53:35","slug":"jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/","title":{"rendered":"How to Include Certain Terms in the AJAX Search Widget\u2019s Search Query"},"content":{"rendered":"\n<p>The <em>JetSearch <\/em>plugin allows including and excluding specific terms in which to look for. You can specify the appropriate terms of posts, products, and custom post types that search will be implemented only in a specific area. Let us present how to include a particular term in the <a href=\"https:\/\/crocoblock.com\/widgets\/ajax-search\/\" target=\"_blank\" rel=\"noreferrer noopener\">AJAX Search<\/a> block\/widget\u2019s search query.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"including-specific-terms-in-a-search-query-of-gutenberg-page\">Including Specific Terms in a Search Query of Gutenberg 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>Go to the page where you want to add a search bar and add the <strong>AJAX <\/strong><strong>Search<\/strong> block to an appropriate place.<\/p>\n\n\n\n<p>Head to the <strong>Search Query Includes\/Excludes <\/strong>section and select the needed term(s) for including in the corresponding field.<\/p>\n\n\n\n<p>After making all the desired changes, press the \u201c<strong>Publish\/Update<\/strong>\u201d button to save the result.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-query-includes-terms-field-in-gutenberg.png\" alt=\"search query includes terms field in gutenberg\">\n\n\n\n<p>In our case, we have some default posts, information about which is displayed with the help of the <strong>Listing Grid<\/strong> widget on the blog page. We would like to search in the default posts with the <strong>Business<\/strong> tag, so we set appropriate adjustments in the <strong>AJAX Search<\/strong> widget.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/wordpress-posts-tags.png\" alt=\"wordpress posts tags\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adjusting-search-in-terms-in-elementor\">Adjusting Search in Terms in Elementor<\/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>This time we will place the search bar in the header and then <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-set-the-header-conditions-in-jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\">attach it to the desired page<\/a>.<\/p>\n\n\n\n<p>Add the <strong>AJAX Search <\/strong>widget, and you\u2019ll see the settings block on the left. Open the <strong>Search Query<\/strong> section and specify the search areas in the <strong>Search<\/strong> option. In the <strong>Include<\/strong> option, you need to define certain terms, which will be considered by searching.<\/p>\n\n\n\n<p>Work on other settings and hit the \u201c<strong>Publish\/Update<\/strong>\u201d button to save the search.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-query-terms-field-in-elementor.png\" alt=\"search query terms field in elementor\">\n\n\n\n<p>Save the changes on the page. Now you can view the search in action on the front end.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/terms-search-on-the-front-end.png\" alt=\"terms search on the front end\">\n<\/div><\/div>\n\n\n\n<p>At the moment, you know how to set search in the posts with specific terms in the <em>JetSearch <\/em><strong>AJAX Search<\/strong> widget.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read how to use the JetSearch AJAX Search widget for adding a search in specific terms to the page.<\/p>\n","protected":false},"author":11,"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 show certain terms in search query | Crocoblock<\/title>\n<meta name=\"description\" content=\"Check the steps describing how to include terms you need in your Ajax Search query settings. Use wide opportunities of JetSearch plugin.\" \/>\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\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to show certain terms in search query | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Check the steps describing how to include terms you need in your Ajax Search query settings. Use wide opportunities of JetSearch plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T09:53:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-query-includes-terms-field-in-gutenberg.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\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/\",\"name\":\"How to show certain terms in search query | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-08-01T12:56:35+00:00\",\"dateModified\":\"2023-07-19T09:53:35+00:00\",\"description\":\"Check the steps describing how to include terms you need in your Ajax Search query settings. Use wide opportunities of JetSearch plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/#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 Include Certain Terms in the AJAX Search Widget\u2019s Search Query\"}]},{\"@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 show certain terms in search query | Crocoblock","description":"Check the steps describing how to include terms you need in your Ajax Search query settings. Use wide opportunities of JetSearch plugin.","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\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/","og_locale":"en_US","og_type":"article","og_title":"How to show certain terms in search query | Crocoblock","og_description":"Check the steps describing how to include terms you need in your Ajax Search query settings. Use wide opportunities of JetSearch plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/","og_site_name":"Help Center","article_modified_time":"2023-07-19T09:53:35+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-query-includes-terms-field-in-gutenberg.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\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/","name":"How to show certain terms in search query | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-08-01T12:56:35+00:00","dateModified":"2023-07-19T09:53:35+00:00","description":"Check the steps describing how to include terms you need in your Ajax Search query settings. Use wide opportunities of JetSearch plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-include-certain-terms-in-ajax-search-widget-search-query\/#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 Include Certain Terms in the AJAX Search Widget\u2019s Search Query"}]},{"@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\/13062"}],"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=13062"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=13062"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=13062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}