{"id":25222,"date":"2013-09-14T21:32:23","date_gmt":"2013-09-14T21:32:23","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/awesome-instant-search\/"},"modified":"2014-01-12T15:53:05","modified_gmt":"2014-01-12T15:53:05","slug":"awesome-instant-search","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/awesome-instant-search\/","author":12817189,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"1.1.2","tested":"3.8.0","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Awesome Instant Search","header_author":"Jameel Bokhari","header_description":"","assets_banners_color":"","last_updated":"2014-01-12 15:53:05","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/jameelbokhari.com\/","header_plugin_uri":"http:\/\/jameelbokhari.com","header_author_uri":"http:\/\/jameelbokhari.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2200,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"1.1.1":"<ul>\n<li>Issues with last commit, finished screen size option<\/li>\n<\/ul>","1.1.0":"<ul>\n<li>Bugs, translation ready, new fields<\/li>\n<\/ul>","1.0.0":"<ul>\n<li>Initial Release<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[221,3226,10368,3539,944],"plugin_category":[],"plugin_contributors":[94201],"plugin_business_model":[],"class_list":["post-25222","plugin","type-plugin","status-publish","hentry","plugin_tags-ajax","plugin_tags-autocomplete","plugin_tags-google-instant-search","plugin_tags-instant-search","plugin_tags-search","plugin_contributors-jameelbokhari","plugin_committers-jameelbokhari"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/awesome-instant-search.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Awesome Instant Search integrate Instant Search to ANY wordpress website using CSS seletors. If you are familiar with CSS already, you should have no problem setting this up. The less experienced can use <a href=\"http:\/\/www.jameelbokhari.com\/awesome-instant-search\/\">my full tutorial<\/a> to set up in 15-20 minutes.<\/p>\n\n<p>After installing the plugin, go to Settings-&gt;Awesome Instant Search in your admin panel. On the first tab, General Settings, you can activate the plugin, but you should probably set it up first.<\/p>\n\n<p>If you are working with the TwentyThirteen theme, the plugin should work out of the box.\nTwentyTwelve and TwentyTen can be applied instantly as well. Go to the plugin settings page described above, and under the General Settings use the dropdown next to Theme Quick Settings to select between twentythirteen, twentytwelve and twentyeleven. Again, if you are not using these themes you have to set the plugin up to fit your particular theme. Unfortunately there's not a way (that I know of) that will get this plugin working out of the box!<\/p>\n\n<p>For the quick tutorial, see below. For those of you unfamiliar with simple HTML and CSS concepts, <a href=\"http:\/\/www.jameelbokhari.com\/awesome-instant-search\/\">see my full tutorial<\/a>.<\/p>\n\n<h4>The Essentials<\/h4>\n\n<p>Essentially, you need to configure three settings.<\/p>\n\n<ul>\n<li>Search Field Selector<\/li>\n<li>Page Content Selector<\/li>\n<li>Search result selector<\/li>\n<\/ul>\n\n<p>If you know your <code>HTML<\/code> pretty well, here's what to do: Assign <em>Search Field Selector<\/em> to the class or ID of your search field(s) in your website. The default <code>input[name=\"s\"]<\/code> should work for any website.<\/p>\n\n<p>Assign <em>Page Content Selector<\/em> to the ID of the element you want your search results to appear in. Remember to use a period (.) or hash sign (#) just like you would with a <code>CSS<\/code> selector. So for example <code>#content<\/code>. Just like with CSS you can be more specific when you need to, e.g., <code>#main #content .container<\/code> and so on. Keep in mind, this content will be hidden on the current page where the search is performed.<\/p>\n\n<p>Next, in the same fashion, assign a selector for the search results. In about 99% of websites, this is going to be the same as the content selector with .hentry added in there. For example, if you assigned <code>#content<\/code> as your <em>Page Content Selector<\/em>, you would use <code>#content .hentry<\/code> as your <em>Search Result Selector<\/em>.<\/p>\n\n<p>These are the three most important settings. After you get these, go ahead and test it out or play with the other settings.<\/p>\n\n<h4>Other Settings<\/h4>\n\n<p><strong>Search URL<\/strong> is where the search results appear. This is your wordpress website's domain with the letters <code>?=s<\/code> appended to it &#8212; e.g., http:\/\/www.example.com?=s\nThis shouldn't need to be changed but is there just in case you ever need to change it.<\/p>\n\n<p><strong>Hide These Elements<\/strong> If you want additional elements to be hidden when performing a search, use this option. These elements will be revealed again when the search is cleared. This value accepts comma separated <code>CSS<\/code> selectors, use it to hide comments, page navigation and other extraneous elements when searching.<\/p>\n\n<p><strong>Before Instant Results<\/strong> is <code>HTML<\/code> to appear before the Instant Search results. Use the tag %%SEARCH_TERM%% to print the search term, e.g., <code>&lt;h3&gt;Search results for: \"%%SEARCH_TERM%%\"&lt;\/h3&gt;<\/code> might show up as <code>&lt;h3&gt;Search results for: \"Contact Info\"&lt;\/h3&gt;<\/code> on your page.<\/p>\n\n<p><strong>Theme Quick Settings<\/strong> Quickly access default settings for twentyten, twentytwelve, and twentythirteen.<\/p>\n\n<h4>Translation<\/h4>\n\n<ul>\n<li>Espa\u00f1ol <a href=\"http:\/\/www.webhostinghub.com\/\">Maria Romos with Web Hosting Hub<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>awesome-instant-search<\/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>Navigate to the Settings Page<\/li>\n<li>Navigate to the Awesome Instant Search page under settings<\/li>\n<li>Set up settings for your theme (<a href=\"http:\/\/www.jameelbokhari.com\/awesome-instant-search\/\">see my tutorial<\/a>)<\/li>\n<li>Activate the plugin under the General Settings tab on the plugin settings page<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Fixed some wording.<\/li>\n<li>Completed Spanish translation for last minute features.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed issue with last commit, files got mixed up.<\/li>\n<li>Added feature to set minimum screen size that Awesome Instant Search requires to trigger so it can be turned off on smaller and (presumably low bandwidth) devices.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>He a\u00f1adido la traducci\u00f3n espa\u00f1ol thanks to <a href=\"http:\/\/www.webhostinghub.com\/index-c.html?utm_expid=31925339-46.KEGZK8A6Q3yfZW0EUfEw5Q.1\">Maria Romos with Web Hosting Hub<\/a>. Plugin is also ready for other languages.<\/li>\n<li>Fixed bug involving the plugin saving the help info text.<\/li>\n<li>Fixed possible issue arrising when the site_url is changed (e.g., production to live). Users can now manually set the plugin directory if needed. This process may be cleaned up more in the future.<\/li>\n<li>Changed some wording to clarify settings<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Awesome Instant Search integrate Instant Search to ANY wordpress website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/25222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=25222"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jameelbokhari"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=25222"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=25222"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=25222"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=25222"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=25222"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=25222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}