{"id":8969,"date":"2022-06-14T14:35:29","date_gmt":"2022-06-14T14:35:29","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=8969"},"modified":"2023-07-19T09:53:33","modified_gmt":"2023-07-19T09:53:33","slug":"how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/","title":{"rendered":"How to Set the Search Only for Specific Post Types"},"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>Sometimes you want to arrange the search results so that in the corresponding field, there are posts only. It\u2019s easy to perform, especially with the <em>JetSearch <\/em>plugin. All you need is to follow the given manual.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-search-only-for-specific-custom-post-types-in-elementor\">Setting Search Only for Specific Custom Post Types 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>Place the <strong>AJAX Search <\/strong>widget and head to<strong> <\/strong>the <strong>Search Query <\/strong>block. Here you can see settings for arranging search results. Moreover, you can range the results by the chosen parameter, such as data or relevance, etc.<\/p>\n\n\n\n<p>Navigate to the <strong>Source <\/strong>option. Select the needed option \u2014 for instance, WordPress \u201cPosts\u201d or other custom post type.&nbsp;<\/p>\n\n\n\n<p>Press the \u201c<strong>Publish<\/strong>\u201d button to make the page live.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-query-section-in-elementor.png\" alt=\"ajax search query section in elementor\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-search-only-for-specific-custom-post-types-in-gutenberg\">Setting Search Only for Specific Custom Post Types in Gutenberg<\/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>The same settings are available for the Block Editor. Just open the page and place the <strong>AJAX Search <\/strong>block on it.<\/p>\n\n\n\n<p>Then select the source of the search in the <strong>Search Query <\/strong>section.<\/p>\n\n\n\n<p>Pay attention that you can also customize the style settings in Gutenberg. To do so, you can install and activate the <em>JetStyleManager <\/em>plugin and press the brush-shaped icon in the editor.<\/p>\n\n\n\n<p>Hit the &#8220;<strong>Publish<\/strong>&#8221; button once you specify the source and finish all customizations.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-query-section-in-block-editor.png\" alt=\"ajax search query section in block editor\">\n\n\n\n<p>Now check whether the search works correctly on the front page.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-results-on-the-front-end.png\" alt=\"search results on the front end\">\n<\/div><\/div>\n\n\n\n<p>Now you can make it real to set the search for posts only.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains what steps you need to take to set the Search only for specific post types with the JetSearch plugin for Elementor and Gutenberg.<\/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 Set the Search for Specific Post Types | Crocoblock<\/title>\n<meta name=\"description\" content=\"Adjust settings to use search functionality for specific post types only. Manage your WordPress website effortlessly with the JetSearch plugin functionality.\" \/>\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-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set the Search for Specific Post Types | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Adjust settings to use search functionality for specific post types only. Manage your WordPress website effortlessly with the JetSearch plugin functionality.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T09:53:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-query-section-in-elementor.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\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/\",\"name\":\"How to Set the Search for Specific Post Types | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-06-14T14:35:29+00:00\",\"dateModified\":\"2023-07-19T09:53:33+00:00\",\"description\":\"Adjust settings to use search functionality for specific post types only. Manage your WordPress website effortlessly with the JetSearch plugin functionality.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/#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 Set the Search Only for Specific Post Types\"}]},{\"@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 Set the Search for Specific Post Types | Crocoblock","description":"Adjust settings to use search functionality for specific post types only. Manage your WordPress website effortlessly with the JetSearch plugin functionality.","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-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/","og_locale":"en_US","og_type":"article","og_title":"How to Set the Search for Specific Post Types | Crocoblock","og_description":"Adjust settings to use search functionality for specific post types only. Manage your WordPress website effortlessly with the JetSearch plugin functionality.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/","og_site_name":"Help Center","article_modified_time":"2023-07-19T09:53:33+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-query-section-in-elementor.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\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/","name":"How to Set the Search for Specific Post Types | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-06-14T14:35:29+00:00","dateModified":"2023-07-19T09:53:33+00:00","description":"Adjust settings to use search functionality for specific post types only. Manage your WordPress website effortlessly with the JetSearch plugin functionality.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-set-the-search-only-for-specific-post-types-with-jetsearch-plugin-for-elementor\/#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 Set the Search Only for Specific Post Types"}]},{"@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\/8969"}],"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=8969"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=8969"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=8969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}