{"id":8618,"date":"2022-06-14T10:49:01","date_gmt":"2022-06-14T10:49:01","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=8618"},"modified":"2023-07-19T09:53:30","modified_gmt":"2023-07-19T09:53:30","slug":"how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/","title":{"rendered":"How to Sort the WordPress Search Results by Relevance"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"arranging-the-search-results-by-relevance-in-elementor\">Arranging the Search Results by Relevance 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>Firstly, check the presence and relevance of the necessary keywords in the posts that you want to display.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/keywords-in-posts.png\" alt=\"keywords in the posts\">\n\n\n\n<p>The keyword density helps you to set the order of the posts. It is significant to save the logical algorithm for relevant results.<\/p>\n\n\n\n<p>To show the result as the first one in the list, prove that it contains the necessary keywords in the:<\/p>\n\n\n\n<ul>\n<li>title;<\/li>\n\n\n\n<li>content;<\/li>\n\n\n\n<li>excerpt.<\/li>\n<\/ul>\n\n\n\n<p>To show the result as the next one in the list, add the keywords in the:<\/p>\n\n\n\n<ul>\n<li>content;<\/li>\n\n\n\n<li>excerpt.<\/li>\n<\/ul>\n\n\n\n<p>The less relevant results should also contain the keywords. If you add the keywords to the content only, the excerpt or the title will reduce the importance of the result, and it will be shown below the more relevant ones.<\/p>\n\n\n\n<p> Open the page where you added the search bar with the <strong>Elementor<\/strong> editor or simply search for the <a href=\"https:\/\/crocoblock.com\/widgets\/ajax-search\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>AJAX Search<\/strong><\/a> widget and drag and drop it to the needed section.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/header-in-elementor.png\" alt=\"header in the elementor editor\">\n\n\n\n<p> Proceed to the <strong>Content <\/strong>tab. Unfold <strong>Search Query<\/strong>, scroll down to the <strong>Results Order By<\/strong> and choose the \u201cRelevance\u201d option in the drop-down list.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-query-relevance.png\" alt=\"results order by relevance\">\n\n\n\n<p>You can filter search results using either descending or ascending order in the <strong>Results Order<\/strong> dropdown.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/results-order.png\" alt=\"results order\">\n\n\n\n<p>Don\u2019t forget to update the settings. Now you can sort the posts as you wish.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/books-results.png\" alt=\"search results sorted by relevance\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"changing-the-results-order-in-gutenberg\">Changing the Results Order 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>As <em>JetSearch<\/em> works not only with the Elementor page builder, you can apply a <strong>Search <\/strong>block using Gutenberg as well.<br><br>To change the search results order, open the page with the <strong>AJAX Search<\/strong> block in the default WordPress editor.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/05\/search-block.png\" alt=\"ajax search block\">\n\n\n\n<p>Proceed to the <strong>Block<\/strong> tab and unfold the <strong>Search Query<\/strong> section.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/search-query-gutenberg.png\" alt=\"search query of the AJAX search block\">\n\n\n\n<p>The <strong>AJAX Search <\/strong>block<strong> <\/strong>for Gutenberg has the same settings as the <strong>AJAX Search<\/strong> widget for Elementor described above.&nbsp;<br><br>Scroll down the section and find the <strong>Results Order By<\/strong> option. Select \u201cRelevance\u201d from the drop-down list.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/results-order-by-gutenberg.png\" alt=\"results order by relevance in the ajax search\">\n\n\n\n<p>Below you will find <strong>Results Order<\/strong>, where you can filter search results using either descending or ascending order.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/results-order-guten.png\" alt=\"results order in gutenberg\">\n\n\n\n<p>After completing all customizations, click the \u201c<strong>Update<\/strong>\u201d button and preview your search results according to the chosen order.<\/p>\n<\/div><\/div>\n\n\n\n<p>Now you know how to manage the search results and customize the content shown there by using the <em>JetSearch<\/em> plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read how to sort the search results by relevance using the JetSearch plugin.<\/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 Sort the Search Results for WordPress by Relevance | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to manage the search results for a WordPress website. Customize the content shown there by adjusting the AJAX Search widget from the 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\/how-to-sort-the-search-results-by-relevance-using-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 Sort the Search Results for WordPress by Relevance | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to manage the search results for a WordPress website. Customize the content shown there by adjusting the AJAX Search widget from the JetSearch plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T09:53:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/keywords-in-posts.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=\"4 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-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/\",\"name\":\"How to Sort the Search Results for WordPress by Relevance | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-06-14T10:49:01+00:00\",\"dateModified\":\"2023-07-19T09:53:30+00:00\",\"description\":\"Learn how to manage the search results for a WordPress website. Customize the content shown there by adjusting the AJAX Search widget from the JetSearch plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-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 Sort the WordPress Search Results by Relevance\"}]},{\"@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 Sort the Search Results for WordPress by Relevance | Crocoblock","description":"Learn how to manage the search results for a WordPress website. Customize the content shown there by adjusting the AJAX Search widget from the 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\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/","og_locale":"en_US","og_type":"article","og_title":"How to Sort the Search Results for WordPress by Relevance | Crocoblock","og_description":"Learn how to manage the search results for a WordPress website. Customize the content shown there by adjusting the AJAX Search widget from the JetSearch plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/","og_site_name":"Help Center","article_modified_time":"2023-07-19T09:53:30+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/keywords-in-posts.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/","name":"How to Sort the Search Results for WordPress by Relevance | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-06-14T10:49:01+00:00","dateModified":"2023-07-19T09:53:30+00:00","description":"Learn how to manage the search results for a WordPress website. Customize the content shown there by adjusting the AJAX Search widget from the JetSearch plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-jetsearch-plugin-for-elementor\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/how-to-sort-the-search-results-by-relevance-using-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 Sort the WordPress Search Results by Relevance"}]},{"@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\/8618"}],"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=8618"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=8618"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=8618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}