{"id":30501,"date":"2014-07-10T10:02:19","date_gmt":"2014-07-10T10:02:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-ajax-search-widget\/"},"modified":"2015-07-03T21:23:18","modified_gmt":"2015-07-03T21:23:18","slug":"wp-ajax-search-widget","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-ajax-search-widget\/","author":8212694,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"4.3.34","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"WP Ajax Search Widget","header_author":"Scott Evans","header_description":"","assets_banners_color":"d7eadd","last_updated":"2015-07-03 21:23:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/scottsweb\/wp-ajax-search-widget","header_author_uri":"http:\/\/scott.ee","rating":0,"author_block_rating":0,"active_installs":30,"downloads":4215,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1192069","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1192069","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1192069","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1192069","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"998503","resolution":"1","location":"assets"}},"screenshots":{"1":"Search results."}},"plugin_section":[],"plugin_tags":[221,6000,5122,944,162],"plugin_category":[42,43,59],"plugin_contributors":[77921,77920],"plugin_business_model":[],"class_list":["post-30501","plugin","type-plugin","status-closed","hentry","plugin_tags-ajax","plugin_tags-instant","plugin_tags-results","plugin_tags-search","plugin_tags-widget","plugin_category-contact-forms","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-codeforthepeople","plugin_contributors-scottsweb","plugin_committers-scottsweb"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-ajax-search-widget_d7eadd.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-ajax-search-widget\/assets\/screenshot-1.png?rev=998503","caption":"Search results."}],"raw_content":"<!--section=description-->\n<p>WP Ajax Search Widget is a replacement for the standard search widget but instead of redirecting you to a new search page the results are returned underneath the search input with an option to click through to the standard results page.<\/p>\n\n<p>The widget allows you to choose how many results to show.<\/p>\n\n<p><a href=\"http:\/\/scott.ee\/\" title=\"WordPress designer and developer\">a plugin by Scott Evans<\/a><\/p>\n\n<!--section=installation-->\n<p>To install this plugin:<\/p>\n\n<ol>\n<li>Upload the <code>wp-ajax-search-widget<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>That's it!<\/li>\n<\/ol>\n\n<p>Alternatively you can search for the plugin from your WordPress dashboard and install from there.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Hooks &amp; Filters<\/dt>\n<dd><p>The plugin has one filter that allows you adjust the search query parameters:<\/p>\n\n<pre><code>add_filter('wpasw_query', 'my_wp_query_array');\n<\/code><\/pre>\n\n<p>The plugin also has the following hooks for adding your own content at various points:<\/p>\n\n<pre><code>wpasw_before_widget\nwpasw_after_widget\nwpasw_before_results\nwpasw_after_results\n<\/code><\/pre><\/dd>\n<dt>Templates<\/dt>\n<dd><p>By placing the following template parts within a \/parts\/ folder in your theme you can also overwrite the HTML output:<\/p>\n\n<pre><code>parts\/widget-ajax-search-result.php\nparts\/widget-ajax-search-more.php\nparts\/widget-ajax-search-fail.php\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Performance improvements<\/li>\n<li>Code standards and formatting<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Displays instant search results directly beneath a search widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=30501"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/scottsweb"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30501"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30501"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30501"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30501"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30501"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}