{"id":53246,"date":"2016-11-23T00:13:31","date_gmt":"2016-11-23T00:13:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/scout-units-list\/"},"modified":"2018-12-31T00:49:50","modified_gmt":"2018-12-31T00:49:50","slug":"scout-units-list","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/scout-units-list\/","author":8212710,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.6.0","stable_tag":"0.6.0","tested":"5.0.25","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"Scout Units List","header_author":"Wiktor Maj","header_description":"","assets_banners_color":"","last_updated":"2018-12-31 00:49:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.krakowpodgorze.zhp.pl\/","header_author_uri":"http:\/\/www.majpage.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1239,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.5.0","0.5.1","0.5.2","0.5.3","0.6.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[129376,129380,129379,129377,129378],"plugin_category":[],"plugin_contributors":[85744],"plugin_business_model":[],"class_list":["post-53246","plugin","type-plugin","status-publish","hentry","plugin_tags-scouts","plugin_tags-wagggs","plugin_tags-wosm","plugin_tags-zhp","plugin_tags-zhr","plugin_contributors-duzymaju","plugin_committers-duzymaju"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/scout-units-list.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin allows you to create a structure of units which are dependent on main one and then present it inside page or post using variety of shortcodes equipped with customizable templates.<\/p>\n\n<h4>Showing units list<\/h4>\n\n<p>Add <code>[sul-units-list id=\"X\"]<\/code> shortcode, where <code>X<\/code> is an ID of a base unit. You can use also other attributes:<\/p>\n\n<ul>\n<li><code>class<\/code> (string) - allows to add CSS class,<\/li>\n<li><code>current<\/code> (boolean, <code>false<\/code> as a default value) - allows to show\/hide current unit on a list,<\/li>\n<li><code>external<\/code> (boolean, <code>false<\/code> as a default value) - decides if structure should be receive from external source (if so, external source URL in configuration should be defined),<\/li>\n<li><code>levels<\/code> (integer, <code>1<\/code> as a default value) - allows to define number of levels with dependent units,<\/li>\n<li><code>types<\/code> (empty as a default value) - allows to define list of types (separated by comma) which have to be showed.<\/li>\n<\/ul>\n\n<p>To define your own template create <code>scout-units-list<\/code> directory in your current theme directory (or define other directory in configuration form) and then create there <code>UnitsList.phtml<\/code>, <code>UnitsList-Y.phtml<\/code> or <code>UnitsList-X.phtml<\/code> file where <code>Y<\/code> is a type and <code>X<\/code> is an ID of a base unit. To customize template of dependent units level you have to create in the same location <code>UnitsListLevel.phtml<\/code>, <code>UnitsListLevel-Y.phtml<\/code> or <code>UnitsListLevel-X.phtml<\/code> file as well. To know how to access units data please check default templates in <code>View\/Shortcodes<\/code> directory.<\/p>\n\n<h4>Showing persons list<\/h4>\n\n<p>Add <code>[sul-persons-list id=\"X\"]<\/code> shortcode, where <code>X<\/code> is an ID of a base unit. You can use also other attributes:<\/p>\n\n<ul>\n<li><code>class<\/code> (string) - allows to add CSS class,<\/li>\n<li><code>external<\/code> (boolean, <code>false<\/code> as a default value) - decides if structure should be receive from external source (if so, external source URL in configuration should be defined).<\/li>\n<\/ul>\n\n<p>To define your own template create <code>scout-units-list<\/code> directory in your current theme directory (or define other directory in configuration form) and then create there <code>PersonsList.phtml<\/code>, <code>PersonsList-Y.phtml<\/code> or <code>PersonsList-X.phtml<\/code> file where <code>Y<\/code> is a type and <code>X<\/code> is an ID of a base unit. To know how to access units data please check default template in <code>View\/Shortcodes<\/code> directory.<\/p>\n\n<h4>Things to do before stable version release<\/h4>\n\n<ol>\n<li>Add a shortcode which implements a map with selected units marked on it.<\/li>\n<li>Configurable types\/subtypes lists and dependencies.<\/li>\n<\/ol>\n\n<h4>Future plans<\/h4>\n\n<ol>\n<li>Add for each unit a list of changes (versions).<\/li>\n<li>Add for each user a list of position changes (versions).<\/li>\n<li>Sorting\/searching on units\/positions lists in admin panel.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin files to the \"\/wp-content\/plugins\/scout-units-list\" directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>That's all - plugin is fully operational.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<p>The first version of plugin.<\/p>\n\n<h4>0.2<\/h4>\n\n<p>Add migrations. Integrate with orders added into database as posts (configurable post category). Add versioning of units and persons.<\/p>\n\n<h4>0.3<\/h4>\n\n<p>Improve shortcodes for units\/persons. Add API.<\/p>\n\n<h4>0.4<\/h4>\n\n<p>Add multiple order categories.<\/p>\n\n<h4>0.5<\/h4>\n\n<p>Upgrade shortcodes and persons. Add persons sorting. Add possibility to show structure from external source. Add custom user photos.<\/p>\n\n<h4>0.6<\/h4>\n\n<p>Move responsibilities from user to position.<\/p>","raw_excerpt":"Units management system for scout web pages.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/53246","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=53246"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/duzymaju"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=53246"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=53246"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=53246"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=53246"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=53246"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=53246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}