{"id":28956,"date":"2022-06-14T07:55:48","date_gmt":"2022-06-14T07:55:48","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=28956"},"modified":"2023-07-19T09:53:49","modified_gmt":"2023-07-19T09:53:49","slug":"jetsearch-how-to-highlight-searched-text-in-results-area","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/","title":{"rendered":"How to Highlight Searched Text in the Results Area"},"content":{"rendered":"\n<p>You can make the search even easier for users by following the described steps. Proceed to the page where the <strong>AJAX Search <\/strong>block\/widget is located. It can be either Gutenberg or Elementor-made page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gutenbergedited-page\">Gutenberg-Edited 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>Once the <strong>AJAX Search <\/strong>block is placed on the page, look through the presented settings sections. Move to the <strong>Results Area <\/strong>one and enable the <strong>Highlight Searched Text <\/strong>toggle.<\/p>\n\n\n\n<p>This one refers to the needed feature. From now on, the searched words will be highlighted in the results area of the <strong>AJAX Search<\/strong>.<\/p>\n\n\n\n<p>Press the \u201c<strong>Publish\/Update<\/strong>\u201d button to save the result. Check the ready page.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-results-area-in-gutenberg.png\" alt=\"ajax search results area in gutenberg\">\n\n\n\n<p>If you enter some text in the search bar, and it turns out that your site has items that contain the searched word, they will be highlighted.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/highlighted-results-on-the-gutenberg-edited-page.png\" alt=\"highlighted results on the gutenberg edited page\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"elementorbased-page\">Elementor-Based 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>The same settings are displayed in the <strong>AJAX Search <\/strong>widget added to Elementor.&nbsp;<\/p>\n\n\n\n<p>Find the <strong>Results Area <\/strong>section to see the <strong>Highlight Searched Text <\/strong>switcher. Enable it to gain the desired result.<\/p>\n\n\n\n<p>Pay attention to other needed settings in the <strong>Content<\/strong>, <strong>Style<\/strong>, and <strong>Advanced <\/strong>tabs. And once the desired result is achieved, hit the \u201c<strong>Publish\/Update<\/strong>\u201d button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-results-area-in-elementor.png\" alt=\"ajax search results area in elementor\">\n\n\n\n<p>Now, if you open the page on the front end and type in the search request, you can see that the searched content is highlighted.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/highlighted-results-on-the-elementor-edited-page.png\" alt=\"highlighted results on the elementor edited page\">\n<\/div><\/div>\n\n\n\n<p>As you can see, highlighting content in the <strong>AJAX Search <\/strong>is pretty simple with the <em>JetSearch <\/em>plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find out how to highlight the text user searches in the AJAX Search results area available with the JetSearch plugin.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[431],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Highlight Searched Text in the Results Area | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to highlight text user searches in the AJAX search results area. Activate the highlighted results in the AJAX search block\/widget using the JetSearch plugin for the WordPress website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Highlight Searched Text in the Results Area | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to highlight text user searches in the AJAX search results area. Activate the highlighted results in the AJAX search block\/widget using the JetSearch plugin for the WordPress website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T09:53:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-results-area-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=\"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\/jetsearch-how-to-highlight-searched-text-in-results-area\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/\",\"name\":\"How to Highlight Searched Text in the Results Area | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-06-14T07:55:48+00:00\",\"dateModified\":\"2023-07-19T09:53:49+00:00\",\"description\":\"Learn how to highlight text user searches in the AJAX search results area. Activate the highlighted results in the AJAX search block\/widget using the JetSearch plugin for the WordPress website.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/#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 Highlight Searched Text in the Results Area\"}]},{\"@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 Highlight Searched Text in the Results Area | Crocoblock","description":"Learn how to highlight text user searches in the AJAX search results area. Activate the highlighted results in the AJAX search block\/widget using the JetSearch plugin for the WordPress website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/","og_locale":"en_US","og_type":"article","og_title":"How to Highlight Searched Text in the Results Area | Crocoblock","og_description":"Learn how to highlight text user searches in the AJAX search results area. Activate the highlighted results in the AJAX search block\/widget using the JetSearch plugin for the WordPress website.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/","og_site_name":"Help Center","article_modified_time":"2023-07-19T09:53:49+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/06\/ajax-search-results-area-in-gutenberg.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\/jetsearch-how-to-highlight-searched-text-in-results-area\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/","name":"How to Highlight Searched Text in the Results Area | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-06-14T07:55:48+00:00","dateModified":"2023-07-19T09:53:49+00:00","description":"Learn how to highlight text user searches in the AJAX search results area. Activate the highlighted results in the AJAX search block\/widget using the JetSearch plugin for the WordPress website.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsearch\/jetsearch-how-to-highlight-searched-text-in-results-area\/#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 Highlight Searched Text in the Results Area"}]},{"@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\/28956"}],"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=28956"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=28956"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=28956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}