{"id":5794,"date":"2009-06-16T15:28:55","date_gmt":"2009-06-16T15:28:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/search-by-category\/"},"modified":"2012-07-15T15:46:03","modified_gmt":"2012-07-15T15:46:03","slug":"search-by-category","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/search-by-category\/","author":1375599,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.3","stable_tag":"trunk","tested":"3.4.2","requires":"2.5.1","requires_php":"","requires_plugins":"","header_name":"Search By Category","header_author":"Fire G","header_description":"","assets_banners_color":"","last_updated":"2012-07-15 15:46:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/fire-studios.com\/blog\/search-by-category\/","header_author_uri":"http:\/\/fire-studios.com\/blog\/","rating":3,"author_block_rating":0,"active_installs":100,"downloads":27582,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":"2","2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566904","resolution":"2","location":"plugin","width":600,"height":650},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566904","resolution":"1","location":"plugin","width":304,"height":95}},"screenshots":{"1":"SBC From with custom styling","2":"SBC config page"}},"plugin_section":[],"plugin_tags":[89,5122,944,55261],"plugin_category":[],"plugin_contributors":[82529],"plugin_business_model":[],"class_list":["post-5794","plugin","type-plugin","status-closed","hentry","plugin_tags-category","plugin_tags-results","plugin_tags-search","plugin_tags-specify","plugin_contributors-fire-g","plugin_committers-fire-g"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/search-by-category.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/search-by-category\/trunk\/screenshot-1.png?rev=1566904","caption":"SBC From with custom styling"},{"src":"https:\/\/ps.w.org\/search-by-category\/trunk\/screenshot-2.png?rev=1566904","caption":"SBC config page"}],"raw_content":"<!--section=description-->\n<p>To help users find the posts they're looking for faster, this plugin allows them to search for articles or posts within certian categories, cutting back on the number of results the user needs to crawl through to find the article they want.<\/p>\n\n<p><strong>Change log<\/strong><\/p>\n\n<p>2.0.3\n - Fixed automatic category reselect<\/p>\n\n<p>2.0.2\n - Fixed inall_exclude use case failure<\/p>\n\n<p>2.0.1\n - Removes leftover debug code<\/p>\n\n<p>2.0\n - Exclude from categories from \"in all categories\"\n - No drop-down menu when using \"only_cat\" parameter\n - Added sbc() controls\n - Added shortcode controls<\/p>\n\n<p>1.5\n - Converted options storage from seperate rows to one array\n - Updated code to be more standardized and readable<\/p>\n\n<p>1.4.1\n - XSS security fix (by Manuel Razzari - http:\/\/ultimorender.com.ar\/funkascript\/)<\/p>\n\n<p>1.4\n - Search box retains searched value (by Manuel Razzari)\n - Default style usage on\/off fix (by Manuel Razzari)<\/p>\n\n<p>1.3\n - Dropdown now automatically selects current category if viewing an archive<\/p>\n\n<p>1.2.1\n - Fixed settings saving issue<\/p>\n\n<p>1.2\n - Included Shortcode: [sbc]<\/p>\n\n<p>1.1\n - Added security fixes\n - Removed some excess code<\/p>\n\n<p>1.0.0\n - Default text\n - Custom styling<\/p>\n\n<p>Beta 3\n - Search Text\n - Exclude Child categories\n - search box auto empties and refills if nothing entered<\/p>\n\n<p>Beta 2\n - First complete working version\n - Hide Empty\n - Focus\n - Exclude Categories<\/p>\n\n<p>Beta 1\n - First working version\n - Category exclustion from drop-down list isn't functional<\/p>\n\n<p>Alpha 1\n - All functions are present but independent<\/p>\n\n<h3>Customizations<\/h3>\n\n<p><em>List of arguments in order<\/em>\n* focus - replaces \"In all categories\" <br \/>\n* hide_empty - 1 means true, 0 means false <br \/>\n* search_text - replaces \"Search  for...\" <br \/>\n* only_cat - category name\/slug\/ID [removes dropdown list] <br \/>\n* excluded_cats - must be category IDs seperated by commas (ex: 1,2,3) \/ removes categories from dropdown list <br \/>\n* exclude_child - 1 means true, 0 means false <br \/>\n* inall_exclude - must be category IDs seperated by commas (ex: 1,2,3) \/ removes categories from \"in all categories\" and dropdown list <br \/><\/p>\n\n<p>If you don't want to customize a setting, use: null, 0, or ''.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download, unzip and upload to your WordPress plugins directory<\/li>\n<li>activate the plugin within you WordPress Administration<\/li>\n<li>Go to Settings &gt; Search By Category<\/li>\n<li>Use the following code in your Theme:<\/li>\n<\/ol>\n\n<pre>\n&lt;?php if(function_exists('sbc')){ \n    sbc();\n} else { ?&gt;\n    \/\/ Your regular form code goes here\n&lt;?php } ?&gt;\n<\/pre>\n\n<p>or<\/p>\n\n<pre>\n[sbc]\n<\/pre>","raw_excerpt":"Reconfigures search results to display results based off of category of posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5794","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=5794"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fire-g"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5794"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5794"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5794"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5794"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5794"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}