{"id":38282,"date":"2015-08-18T09:11:39","date_gmt":"2015-08-18T09:11:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/classifiers\/"},"modified":"2015-09-17T06:59:13","modified_gmt":"2015-09-17T06:59:13","slug":"classifiers","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/classifiers\/","author":14417119,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"4.3.34","requires":"","requires_php":"","requires_plugins":"","header_name":"Classifiers","header_author":"Taavi Aasver","header_description":"","assets_banners_color":"","last_updated":"2015-09-17 06:59:13","external_support_url":"","external_repository_url":"","donate_link":"-","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/classifiers\/","header_author_uri":"http:\/\/taaviaasver.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1936,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1223430","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1223430","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1223430","resolution":"3","location":"assets"}},"screenshots":{"1":"Category list","2":"Category view","3":"Classifier view"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5742,17692,17691,246,1864],"plugin_category":[],"plugin_contributors":[84843],"plugin_business_model":[],"class_list":["post-38282","plugin","type-plugin","status-publish","hentry","plugin_tags-classifier","plugin_tags-classifiers","plugin_tags-classify","plugin_tags-html","plugin_tags-select","plugin_contributors-taaviaasver","plugin_committers-taaviaasver"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/classifiers.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/classifiers\/assets\/screenshot-1.jpg?rev=1223430","caption":"Category list"},{"src":"https:\/\/ps.w.org\/classifiers\/assets\/screenshot-2.jpg?rev=1223430","caption":"Category view"},{"src":"https:\/\/ps.w.org\/classifiers\/assets\/screenshot-3.jpg?rev=1223430","caption":"Classifier view"}],"raw_content":"<!--section=description-->\n<p>This plugin is meant for theme developers.\nIt adds a new admin side page Classifiers, where you can define your classifiers and categories.<\/p>\n\n<p>Example: Your site user needs to select her favorite color.\n1.) Define classifier category 'color'\n2.) Define classifiers: 'black', 'blue' etc.<\/p>\n\n<p>Displaying these options in your template:\n    $cm = new ClassifierManager();\n    print_r($cm-&gt;getClassifiers(1));\nOR AJAX:\n    $http({\n        method: 'POST',\n        url: $scope.ajaxurl,\n        params: {\n            'action': 'wpc_ajax_getclassifiers',\n            'security': $scope.nonce,\n            'category' : 1\n        }\n    }).success( function( data ) {\n        \/\/do something..\n    });<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>classifiers<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What does this plugin do?<\/dt>\n<dd><p>This plugin adds a new admin side page Classifiers.\nThere you can define your classifiers and categories.<\/p>\n\n<p>Example: Your site user needs to select her favorite color.\n1.) Define classifier category 'color'\n2.) Define classifiers: 'black', 'blue' etc.\n3.) Display these options in your template:\n    $cm = new ClassifierManager();\n    print_r($cm-&gt;getClassifiers(1));\nOR AJAX:\n    $http({\n        method: 'POST',\n        url: $scope.ajaxurl,\n        params: {\n            'action': 'wpc_ajax_getclassifiers',\n            'security': $scope.nonce,\n            'category' : 1\n        }\n    }).success( function( data ) {\n        \/\/do something..\n    });<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1 [17\/09\/15]<\/h4>\n\n<ul>\n<li>New feature: Change classifier positions<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial<\/li>\n<\/ul>","raw_excerpt":"For theme developers. Instead of hard-coding certain texts (selectable options) to your template, make them manageable on the admin side.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38282","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=38282"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/taaviaasver"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38282"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38282"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38282"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38282"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38282"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}