{"id":335,"date":"2023-12-01T09:53:21","date_gmt":"2023-12-01T09:53:21","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/?p=335"},"modified":"2024-02-19T15:19:31","modified_gmt":"2024-02-19T15:19:31","slug":"search-shortcodes","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/","title":{"rendered":"Search shortcodes"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-scaled.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"366\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1024x366.jpg\" alt=\"Search shortcodes\" class=\"wp-image-554\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1024x366.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-300x107.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-768x275.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1536x549.jpg 1536w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-2048x733.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>If you don&#8217;t use the blocks editor, go to the <strong>Search shortcodes<\/strong> section where you can find the default shortcode that you can customize as you want. You can also create other shortcodes by clicking on <strong>Add new shortcode<\/strong> and configure the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><a href=\"#general\">General<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#search-input\">Search input<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#submit-button\">Submit button<\/a><\/strong> &#8211; Classic style<\/li>\n\n\n\n<li><strong><a href=\"#search-results\">Search results<\/a><\/strong> &#8211; Classic style<\/li>\n\n\n\n<li><strong><a href=\"#results-fullscreen\">Search results<\/a><\/strong> &#8211; Fullscreen overlay<\/li>\n\n\n\n<li><strong><a href=\"#extra-options\">Extra options<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"general\">General<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/shortcode-general-e1708352445746.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1760\" height=\"813\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/shortcode-general-e1708352445746.jpg\" alt=\"General\" class=\"wp-image-646\"\/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Name: <\/strong>enter the name for the shortcode;<\/li>\n\n\n\n<li><strong>Style<\/strong>: choose the layout style from <strong>Classic<\/strong> and <strong>Fullscreen overlay<\/strong>;<\/li>\n\n\n\n<li><strong>Size: <\/strong>(<em>available if <strong>Classic<\/strong> style is selected<\/em>) choose the search size from <strong><em>Small<\/em><\/strong> or <em><strong>Large<\/strong><\/em>;<\/li>\n\n\n\n<li><strong>CSS class: <\/strong>enter CSS classes, space separated, to customize the search.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/Screenshot-2024-02-19-alle-15.38.21-min-e1708353700917.png\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1784\" height=\"812\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/Screenshot-2024-02-19-alle-15.38.21-min-e1708353700917.png\" alt=\"Fullscreen overlay\" class=\"wp-image-650\"\/><\/a><figcaption class=\"wp-element-caption\">Fullscreen overlay<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"search-input\"><strong>Search input<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-input.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1226\" height=\"1046\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-input.jpg\" alt=\"Search input\" class=\"wp-image-428\" style=\"aspect-ratio:1.1720841300191205;width:690px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-input.jpg 1226w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-input-300x256.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-input-1024x874.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-input-768x655.jpg 768w\" sizes=\"auto, (max-width: 1226px) 100vw, 1226px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Placeholder<\/strong>: enter the text that will show within the search bar;<\/li>\n\n\n\n<li><strong>Border size (px)<\/strong>: set the size of the border;<\/li>\n\n\n\n<li><strong>Border radius: <\/strong>set the border radius;<\/li>\n\n\n\n<li><strong>Colors: <\/strong>set the colors of the search form, placeholder, border, and background.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"submit-button\">Submit button (available only for <em>Classic<\/em> style)<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/submit-button.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1052\" height=\"912\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/submit-button.jpg\" alt=\"Submit button\" class=\"wp-image-429\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/submit-button.jpg 1052w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/submit-button-300x260.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/submit-button-1024x888.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/submit-button-768x666.jpg 768w\" sizes=\"auto, (max-width: 1052px) 100vw, 1052px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Submit search style: <\/strong>select the style to apply to the search button. Available options are: \n<ul class=\"wp-block-list\">\n<li><strong>Icon<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Icon position<\/strong>: left or right;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Text<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Text<\/strong>: enter the label for the search button;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Icon + Text<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Text<\/strong>: enter the label for the search button.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"search-results\">Search results &#8211; Classic style<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1110\" height=\"1234\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options.jpg\" alt=\"Search results\" class=\"wp-image-433\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options.jpg 1110w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-270x300.jpg 270w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-921x1024.jpg 921w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-768x854.jpg 768w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Max results to show<\/strong>: set the number of results to show;<\/li>\n\n\n\n<li><strong>Product info to show<\/strong>: choose the product data to show:\n<ul class=\"wp-block-list\">\n<li>Title<\/li>\n\n\n\n<li>Price<\/li>\n\n\n\n<li>SKU<\/li>\n\n\n\n<li>Add to cart<\/li>\n\n\n\n<li>Image<\/li>\n\n\n\n<li>Stock<\/li>\n\n\n\n<li>Summary<\/li>\n\n\n\n<li>Categories<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Title color<\/strong>: set the color of the title;<\/li>\n\n\n\n<li><strong>Results layout<\/strong>: choose whether to show the results as a list or in a grid;<\/li>\n\n\n\n<li><strong>Image size (px)<\/strong>: set the size of the product images;<\/li>\n\n\n\n<li><strong>Image position: <\/strong>(available only with List layout) choose whether to show the image on the left or on the right;<\/li>\n\n\n\n<li><strong>Price label<\/strong>: enter the text to show before the price;<\/li>\n\n\n\n<li><strong>No results notice<\/strong>: enter the text to show when the search produces no results;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-1.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1194\" height=\"1178\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-1.jpg\" alt=\"Search results\" class=\"wp-image-654\" style=\"aspect-ratio:0.9201520912547528;width:690px;height:auto\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-1.jpg 1194w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-1-300x296.jpg 300w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-1-1024x1010.jpg 1024w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/search-results-options-1-768x758.jpg 768w\" sizes=\"auto, (max-width: 1194px) 100vw, 1194px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Limit summary length:<\/strong> enable this option if you want to define a maximum number of words in the summary;\n<ul class=\"wp-block-list\">\n<li><strong>Max words: <\/strong>enter the value for the maximum number of words;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Show<\/strong> <strong>\u201cView all results&#8221; link<\/strong>: enable this option to show the <em>View all results<\/em> in the search results;<\/li>\n\n\n\n<li><strong>\u201cView all results&#8221; text<\/strong>: enter the text for the link to view all results. You can show the number of available results by using the placeholder <em>{total}<\/em>;<\/li>\n\n\n\n<li><strong>Badges to show<\/strong>: choose the badges to show:\n<ul class=\"wp-block-list\">\n<li>on sale<\/li>\n\n\n\n<li>out of stock<\/li>\n\n\n\n<li>featured<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Hide &#8220;Featured&#8221; badge if the product is on sale<\/strong>: enable this option to hide the <em>featured<\/em> badge on discounted products;\n<ul class=\"wp-block-list\">\n<li><strong>Show also results related to:<\/strong> choose whether to extend the search to posts and\/or pages;<\/li>\n\n\n\n<li><strong>Related content label<\/strong>: enter the text for the related content;<\/li>\n\n\n\n<li><strong>Max related content to show<\/strong>: set the maximum number of pages or posts to show.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"results-fullscreen\">Search results &#8211; fullscreen overlay style<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/serach-results-fulscreen.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1280\" height=\"1328\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/serach-results-fulscreen.jpg\" alt=\"Search results - Fullscreen layout\" class=\"wp-image-655\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/serach-results-fulscreen.jpg 1280w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/serach-results-fulscreen-289x300.jpg 289w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/serach-results-fulscreen-987x1024.jpg 987w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/serach-results-fulscreen-768x797.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Product info to show<\/strong>: choose the product data to show:\n<ul class=\"wp-block-list\">\n<li>Title<\/li>\n\n\n\n<li>Price<\/li>\n\n\n\n<li>Add to cart<\/li>\n\n\n\n<li>Image<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Columns to show<\/strong>: set the number of columns to show;<\/li>\n\n\n\n<li><strong>Rows to show<\/strong>: set the number of rows to show;<\/li>\n\n\n\n<li><strong>No results notice<\/strong>: enter the text to show when the search produces no results;<\/li>\n\n\n\n<li><strong>Show also results related to:<\/strong>\u00a0choose whether to extend the search to <strong><em>posts<\/em><\/strong> and\/or <strong><em>pages<\/em><\/strong>;<\/li>\n\n\n\n<li><strong>Related content label<\/strong>: enter the text for the related content;<\/li>\n\n\n\n<li><strong>Max related content to show<\/strong>: set the maximum number of pages or posts to show.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"extra-options\">Extra options<\/h4>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1168\" height=\"1875\" src=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min.jpg\" alt=\"Extra options\" class=\"wp-image-656\" srcset=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min.jpg 1168w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min-187x300.jpg 187w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min-638x1024.jpg 638w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min-768x1233.jpg 768w, https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2023\/12\/extra-options-min-957x1536.jpg 957w\" sizes=\"auto, (max-width: 1168px) 100vw, 1168px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Icon colors: <\/strong>(available only with <strong>Fullscreen overlay<\/strong>) set the color and color focus of the icon;<\/li>\n\n\n\n<li><strong>Show last searches<\/strong>: enable this option to show the latest searches made by the current user;\n<ul class=\"wp-block-list\">\n<li><strong>Max searches to show<\/strong>: set the maximum number of latest searches to show;<\/li>\n\n\n\n<li><strong>Label<\/strong>: enter the text to show as label for the latest searches;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Show trending searches<\/strong>: enable this option to show the most popular searches made by all users;\n<ul class=\"wp-block-list\">\n<li><strong>Max searches to show<\/strong>: set the maximum number of popular searches to show;<\/li>\n\n\n\n<li><strong>Label<\/strong>: enter the text to show as label for the latest searches;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Show related categories<\/strong>: enable this option to show the categories linked to search results;\n<ul class=\"wp-block-list\">\n<li><strong>Max categories to show<\/strong>: set the maximum number of categories to show;<\/li>\n\n\n\n<li><strong>Label<\/strong>: enter the text to show as label for the categories.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you don&#8217;t use the blocks editor, go to the Search shortcodes section where you can find the default shortcode that you can customize as you want. You can also create other shortcodes by clicking on Add new shortcode and configure the following settings: General Search input Submit button (available only for Classic style) Search &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Search shortcodes<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-335","post","type-post","status-publish","format-standard","hentry","category-premium-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Ajax Search: Search shortcodes<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Ajax Search: Search shortcodes\" \/>\n<meta property=\"og:description\" content=\"If you don&#8217;t use the blocks editor, go to the Search shortcodes section where you can find the default shortcode that you can customize as you want. You can also create other shortcodes by clicking on Add new shortcode and configure the following settings: General Search input Submit button (available only for Classic style) Search &hellip; Continue reading Search shortcodes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Ajax Search\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-01T09:53:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-19T15:19:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1024x366.jpg\" \/>\n<meta name=\"author\" content=\"alessandra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alessandra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/\",\"name\":\"YITH Ajax Search: Search shortcodes\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1024x366.jpg\",\"datePublished\":\"2023-12-01T09:53:21+00:00\",\"dateModified\":\"2024-02-19T15:19:31+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-scaled.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-scaled.jpg\",\"width\":2560,\"height\":916},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Search shortcodes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/\",\"name\":\"YITH WooCommerce Ajax Search\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd\",\"name\":\"alessandra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g\",\"caption\":\"alessandra\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/author\/alessandra\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Ajax Search: Search shortcodes","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:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/","og_locale":"en_US","og_type":"article","og_title":"YITH Ajax Search: Search shortcodes","og_description":"If you don&#8217;t use the blocks editor, go to the Search shortcodes section where you can find the default shortcode that you can customize as you want. You can also create other shortcodes by clicking on Add new shortcode and configure the following settings: General Search input Submit button (available only for Classic style) Search &hellip; Continue reading Search shortcodes","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/","og_site_name":"YITH WooCommerce Ajax Search","article_published_time":"2023-12-01T09:53:21+00:00","article_modified_time":"2024-02-19T15:19:31+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1024x366.jpg","type":"","width":"","height":""}],"author":"alessandra","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alessandra","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/","name":"YITH Ajax Search: Search shortcodes","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-1024x366.jpg","datePublished":"2023-12-01T09:53:21+00:00","dateModified":"2024-02-19T15:19:31+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-scaled.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-content\/uploads\/sites\/289\/2024\/01\/Search-shortcodes2-scaled.jpg","width":2560,"height":916},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/premium-settings\/search-shortcodes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/"},{"@type":"ListItem","position":2,"name":"Search shortcodes"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/","name":"YITH WooCommerce Ajax Search","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#\/schema\/person\/526d0e378b94e5d769cc699423a893fd","name":"alessandra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7a82076030fd86df0a1c777be78906d9?s=96&d=mm&r=g","caption":"alessandra"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/author\/alessandra\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/posts\/335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/comments?post=335"}],"version-history":[{"count":11,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/posts\/335\/revisions"}],"predecessor-version":[{"id":657,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/posts\/335\/revisions\/657"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/media?parent=335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/categories?post=335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-ajax-search\/wp-json\/wp\/v2\/tags?post=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}