{"id":197483,"date":"2024-08-14T16:35:00","date_gmt":"2024-08-14T16:35:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ajax-searchwp\/"},"modified":"2026-04-09T07:37:32","modified_gmt":"2026-04-09T07:37:32","slug":"ajax-searchwp","status":"publish","type":"plugin","link":"https:\/\/frp.wordpress.org\/plugins\/ajax-searchwp\/","author":14404617,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0.0","tested":"6.9.4","requires":"6.0","requires_php":"8.1","requires_plugins":null,"header_name":"Super Ajax Search","header_author":"Naveen Gaur","header_description":"Ajax search results based on custom post types. Use the shortcode [ajax_searchwp] to display the search form with live search results.","assets_banners_color":"7a96b6","last_updated":"2026-04-09 07:37:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/techwithnavi.com\/","rating":5,"author_block_rating":0,"active_installs":20,"downloads":1611,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"naveen.developer","date":"2024-08-26 15:18:11"},"1.2.0":{"tag":"1.2.0","author":"naveen.developer","date":"2024-11-26 03:01:57"},"1.3.0":{"tag":"1.3.0","author":"naveen.developer","date":"2024-11-26 03:01:57"},"1.4.0":{"tag":"1.4.0","author":"naveen.developer","date":"2024-11-26 03:08:57"},"1.5.0":{"tag":"1.5.0","author":"naveen.developer","date":"2024-12-02 08:04:32"},"2.0.0":{"tag":"2.0.0","author":"naveen.developer","date":"2026-04-09 07:37:32"}},"upgrade_notice":{"2.0.0":"<p>Major upgrade with new features, REST API, and security hardening. Settings are automatically migrated.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3181730,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3181730,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.2.0","1.3.0","1.4.0","1.5.0","2.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Plugin settings page with all configuration options.","2":"Search form with category filter and live results.","3":"Results with thumbnails, excerpts, and keyword highlighting."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2109,3226,3539,5185,5189],"plugin_category":[],"plugin_contributors":[183164],"plugin_business_model":[],"class_list":["post-197483","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax-search","plugin_tags-autocomplete","plugin_tags-instant-search","plugin_tags-live-search","plugin_tags-search-plugin","plugin_contributors-naveendeveloper","plugin_committers-naveendeveloper"],"banners":{"banner":"https:\/\/ps.w.org\/ajax-searchwp\/assets\/banner-772x250.png?rev=3181730","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ajax-searchwp\/assets\/icon-256x256.png?rev=3181730","icon_2x":"https:\/\/ps.w.org\/ajax-searchwp\/assets\/icon-256x256.png?rev=3181730","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Super Ajax Search enhances your website's search with instant live results as users type. Built on the WordPress REST API with a modern vanilla JS frontend \u2014 no jQuery dependency, lightning fast.<\/p>\n\n<p><strong>Free Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Live Search<\/strong> \u2014 Instant AJAX-powered results as you type.<\/li>\n<li><strong>Thumbnails<\/strong> \u2014 Display featured images in search results.<\/li>\n<li><strong>Smart Excerpts<\/strong> \u2014 Show content snippets with the search keyword highlighted in bold.<\/li>\n<li><strong>Result Grouping<\/strong> \u2014 Organize results by Post Type or Category.<\/li>\n<li><strong>Category Filter<\/strong> \u2014 Optional dropdown to filter results by category.<\/li>\n<li><strong>Debounced Search<\/strong> \u2014 300ms debounce prevents excessive server requests.<\/li>\n<li><strong>Transient Caching<\/strong> \u2014 1-hour cache for identical queries (configurable).<\/li>\n<li><strong>REST API<\/strong> \u2014 Modern endpoint replaces admin-ajax.php for better performance.<\/li>\n<li><strong>Keyboard Navigation<\/strong> \u2014 Arrow keys, Enter, and Escape support.<\/li>\n<li><strong>Accessible<\/strong> \u2014 ARIA labels, roles, and semantic HTML.<\/li>\n<li><strong>Secure<\/strong> \u2014 Nonce verification, input sanitization, output escaping, publish-only results.<\/li>\n<li><strong>Customizable<\/strong> \u2014 Configure post types, result limit, placeholder text, no-results message.<\/li>\n<li><strong>Shortcode<\/strong> \u2014 <code>[super_ajax_search]<\/code> with optional attributes.<\/li>\n<li><strong>Multi-instance<\/strong> \u2014 Multiple search forms per page, no ID conflicts.<\/li>\n<li><strong>Responsive<\/strong> \u2014 Mobile-friendly layout.<\/li>\n<li><strong>Lightweight<\/strong> \u2014 Under 15KB total (CSS + JS), zero dependencies.<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>If you have any suggestions, need any help, or want to connect with me, please reach out:\n* Email: info@techwithnavi.com\n* Website: https:\/\/techwithnavi.com\/<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>ajax-searchwp<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate through the <strong>Plugins<\/strong> menu.<\/li>\n<li>Go to <strong>Super Ajax Search<\/strong> in the admin sidebar to configure settings.<\/li>\n<li>Use the shortcode <code>[super_ajax_search]<\/code> on any page or post.<\/li>\n<\/ol>\n\n<p><strong>Shortcode Attributes:<\/strong><\/p>\n\n<ul>\n<li><code>placeholder<\/code> \u2014 Override the search input placeholder.<\/li>\n<li><code>category_filter<\/code> \u2014 Show a category dropdown (<code>\"true\"<\/code> or <code>\"false\"<\/code>).<\/li>\n<\/ul>\n\n<p>Example: <code>[super_ajax_search category_filter=\"true\" placeholder=\"Find products\u2026\"]<\/code><\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20use%20the%20shortcode%3F\"><h3>How do I use the shortcode?<\/h3><\/dt>\n<dd><p>Place <code>[super_ajax_search]<\/code> in any post, page, or widget where you want the search to appear.<\/p><\/dd>\n<dt id=\"can%20i%20choose%20which%20post%20types%20to%20search%3F\"><h3>Can I choose which post types to search?<\/h3><\/dt>\n<dd><p>Yes. Go to Super Ajax Search settings and check the post types you want included.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20woocommerce%3F\"><h3>Does it work with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. Enable the \"Products\" post type in the settings.<\/p><\/dd>\n<dt id=\"is%20the%20search%20secure%3F\"><h3>Is the search secure?<\/h3><\/dt>\n<dd><p>Yes. All inputs are sanitized, outputs are escaped, and only published posts are returned.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> Thumbnail support in search results.<\/li>\n<li><strong>New:<\/strong> Smart excerpts with keyword highlighting.<\/li>\n<li><strong>New:<\/strong> Result grouping by Post Type or Category.<\/li>\n<li><strong>New:<\/strong> Category filter dropdown.<\/li>\n<li><strong>New:<\/strong> 300ms debounced search to reduce server load.<\/li>\n<li><strong>New:<\/strong> REST API endpoint (replaces admin-ajax.php).<\/li>\n<li><strong>New:<\/strong> Transient caching (configurable TTL).<\/li>\n<li><strong>New:<\/strong> Keyboard navigation (arrow keys, Enter, Escape).<\/li>\n<li><strong>New:<\/strong> Vanilla JS \u2014 jQuery dependency removed.<\/li>\n<li><strong>New:<\/strong> Multi-instance shortcode support.<\/li>\n<li><strong>New:<\/strong> PHPUnit test suite.<\/li>\n<li><strong>Security:<\/strong> Explicit <code>post_status =&gt; 'publish'<\/code> to prevent data leakage.<\/li>\n<li><strong>Security:<\/strong> XSS-safe DOM rendering in JavaScript.<\/li>\n<li><strong>Fix:<\/strong> AJAX handlers now properly load (fixed <code>is_admin()<\/code> bootstrap bug).<\/li>\n<li><strong>Refactor:<\/strong> Full rename from Ajax SearchWP to Super Ajax Search.<\/li>\n<li><strong>Refactor:<\/strong> Options migrated from <code>ajax_searchwp_*<\/code> to <code>super_ajax_search_*<\/code>.<\/li>\n<li><strong>Compat:<\/strong> PHP 8.1+ with typed properties and return types.<\/li>\n<li><strong>Compat:<\/strong> WordPress 6.7 tested.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>","raw_excerpt":"Feature-rich live search with thumbnails, smart excerpts, result grouping, and category filtering.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/197483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=197483"}],"author":[{"embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/naveendeveloper"}],"wp:attachment":[{"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=197483"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=197483"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=197483"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=197483"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=197483"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/frp.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=197483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}