{"id":61469,"date":"2013-01-02T05:02:11","date_gmt":"2013-01-02T05:02:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/yakadanda-team\/"},"modified":"2013-03-04T04:44:37","modified_gmt":"2013-03-04T04:44:37","slug":"yakadanda-team","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/yakadanda-team\/","author":265845,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.9","stable_tag":"trunk","tested":"3.5.2","requires":"3.4.2","requires_php":"","requires_plugins":"","header_name":"Yakadanda Team","header_author":"Yakadanda","header_description":"","assets_banners_color":"","last_updated":"2013-03-04 04:44:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.yakadanda.com\/plugins\/yakadanda-team\/","header_author_uri":"http:\/\/www.yakadanda.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2247,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog","other_notes"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-61469","plugin","type-plugin","status-closed","hentry","plugin_committers-peterricci"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yakadanda-team.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This Plugin creates a Custom Post Type called Team with it's custom taxonomy 'team-category'. All WordPress functions to get team data should work such as WP_Query or query_posts with post_type 'team'. Team Custom Settings also saved as hidden custom field. Office List is saved to wp_options table with key name as 'yteam_office_list'.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload yakadanda-team folder to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>This is an extended note of customizing plugin.<\/p>\n\n<h4>How do I change default template to my preferences?<\/h4>\n\n<p>To change the template for single post, put single-team.php on theme directory. To change the template for archive post, put archive-team.php on theme directory. Child Theme is supported.<\/p>\n\n<h4>What about a style? Can I change it too? How?<\/h4>\n\n<p>Use team.css in yakadanda-team\/styles\/team.css as reference. Copy this file to your active-theme\/styles\/ as team.css. If you use default style, please note that image files will still be linked to plugin directory. To fix that, copy socialicon.png to your active-theme\/images\/<\/p>\n\n<!--section=changelog-->\n<h4>0.2.9<\/h4>\n\n<ul>\n<li>Added Team Settings to customize title, description, office detail, and social icons<\/li>\n<li>Added yteam shortcode<\/li>\n<li>Improved theme support<\/li>\n<\/ul>\n\n<h4>0.2.8<\/h4>\n\n<ul>\n<li>Improved post limit to more team members<\/li>\n<\/ul>\n\n<h4>0.2.7<\/h4>\n\n<ul>\n<li>Update template single and archives<\/li>\n<\/ul>\n\n<h4>0.2.6<\/h4>\n\n<ul>\n<li>Added 'video' data field support to yteam_get_data() function.<\/li>\n<\/ul>\n\n<h4>0.2.5<\/h4>\n\n<ul>\n<li>updated plugin template<\/li>\n<\/ul>\n\n<h4>0.2.4<\/h4>\n\n<ul>\n<li>Added 'post_limit', 'width', 'height', 'class' to yteam_team_members() to limit more team member post.<\/li>\n<\/ul>\n\n<h4>0.2.3<\/h4>\n\n<ul>\n<li>Added 'featured' data field support to yteam_get_data() function. See Codex Section on README.md<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Added 'images' data field support to yteam_get_data() function. See Codex Section on README.md<\/li>\n<li>Changed image's default class from 'aligncenter' to 'wp-image-'.<\/li>\n<li>Added yteam_content_nav() to work as pagination link. Usage sample in default-archive-team.php.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Added anchor_link support to yteam_get_data() function. See Codex Section on README.md<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Added yteam_get_data() function. See Codex Section on README.md<\/li>\n<\/ul>\n\n<h4>0.1.9<\/h4>\n\n<ul>\n<li>Added 'archive-team' to body class.<\/li>\n<\/ul>\n\n<h4>0.1.8<\/h4>\n\n<ul>\n<li>Added Troubleshoot Section.<\/li>\n<\/ul>\n\n<h4>0.1.7<\/h4>\n\n<ul>\n<li>Added team archive template theme support.<\/li>\n<\/ul>\n\n<h4>0.1.6<\/h4>\n\n<ul>\n<li>Added support for custom styles.<\/li>\n<li>Added README.md<\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Change target and member image Link.<\/li>\n<li>Change layout for team (full, witour sidebar) and single team page (with sidebar).<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>Added Grid widget.<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Added PrettyPhoto Plugin.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Separate Office List as an Option Page of Team Post Type.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Added Basic Widget, Image Attachments list.<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3 id='Codex'>Codex<\/h3>\n<p>C.1 yteam_get_data( $post_id, $data_field, $data_args=array() );\n    Get specific data from a post ID.\n    Available Data Field:<\/p>\n\n<pre><code>'title'     - Returns a team title.\n    Has no valid $data_args.\n\n'content'   - Retutns a team content.\n    Has no valid $data_args.\n\n'permalink' - Returns a permalink of team member.\n    Has no valid $data_args.\n\n'image'     - Returns an image or link, depend on $data_args array.\n    Valid $data_args:\n        - width (integer)\n        Width of image, default is 150.\n        - height (integer)\n        Height of image, default is 150.\n        - anchor (boolean, default: false)\n        Wrap image with an anchor.\n        - anchor_link\n        Anchor URI. Before setting 'anchor_link', 'anchor' must be set to true.\n        - class\n        Set html class of image element. Default: 'thumbnail wp-image-'.\n\n    For example, to get featured image of current team member linked to team link with 225x225 pixels:\n    &lt;?php\n    echo yteam_get_data(get_the_ID(), 'image', array('width' =&gt; 225, 'height' =&gt; 225,));\n    ?&gt;\n\n    While Default anchor link is linked to full image, and will be poped up in a lightbox.\n    It can also change anchor link of the image. Make sure anchor arguments is set to true. Here is example syntax:\n    &lt;?php\n    echo yteam_get_data(get_the_ID(), 'image', array('anchor' =&gt; true, 'anchor_link' =&gt; get_permalink() ));\n    ?&gt;\n\n'images'    - Returns a group of post's images attachment.\n    Valid $data_args:\n        - width (integer)\n        Width of image, default is 150.\n        - height (integer)\n        Height of image, default is 150.\n        - class\n        Set html class of image element. Default: 'thumbnail wp-image-'.\n        - list_class\n        Set UL class element. Default: 'team-more-images'\n        - anchor_rel\n        Set rel property of anchor to work with prettyPhoto plugin. Default: 'prettyPhoto[pp_gal]'\n    Example:\n    &lt;?php\n        echo yteam_get_data( get_the_ID(), 'images', array() );\n    ?&gt;\n\n'featured'      - Returns Embed Code if post has it, otherwise use featured image.\n    Valid $data_args:\n        - width (integer)\n        Width of object, default is 150 for image.\n        - height (integer)\n        Height of object, default is 150 for image.\n        - anchor (boolean, default: false)\n        Wrap image with an anchor.\n        - anchor_link\n        Anchor URI. Before setting 'anchor_link', 'anchor' must be set to true.\n        - anchor_class\n        Set html class of anchor element, for image. Default: 'team-pic-a'.\n        - alt\n        Set alt title of anchor element, for image. Default: [Post title].\n        - i_class\n        Set html class of image element. Default: 'thumbnail wp-image-'.\n        - v_class\n        Set html class of video element. Default: 'video'.\n    Example:\n    &lt;?php\n        echo yteam_get_data(get_the_ID(), 'featured', array('width'=&gt;520) );\n    ?&gt;\n---\nAny invalid $data_field will return 'title' data.\n<\/code><\/pre>\n\n<p>C.2 yteam_team_members( $data_args=array() );\n    Show More Team Members with similar category as the ID.\n    Valid $data_args:\n        - current_post_id\n        Relative team to current post id, Example: get_the_ID().\n        - post_limit\n        Limt Displayed Team member. Default: -1. (-1 means all team posts)\n        - width (integer)\n        Width of image, default is 150.\n        - height (integer)\n        Height of image, default is 150.\n        - class\n        Set html class of image element. Default: 'thumbnail wp-image-'.<\/p>\n\n<pre><code>Example:\n&lt;?php\n    yteam_team_members(\n        array(\n            'current_post_id'   =&gt; get_the_ID(),\n            'post_limit'        =&gt; 3,\n            'width'             =&gt; 150,\n            'height'            =&gt; 150,\n        )\n    );\n?&gt;\n<\/code><\/pre>\n<h3 id='Plugins-used'>Plugins used<\/h3>\n<ul>\n<li><p>WP-Alchemy Metabox\nURL : http:\/\/www.farinspace.com\/wpalchemy-metabox\/\nLicense : Licensed under The MIT License<\/p><\/li>\n<li><p>PrettyPhoto\nURL : http:\/\/www.no-margin-for-errors.com\/projects\/prettyphoto-jquery-lightbox-clone\/\nLicense : Creative Commons 2.5<\/p><\/li>\n<\/ul>","raw_excerpt":"Yakadanda Team Post Type","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/61469","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=61469"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/peterricci"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=61469"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=61469"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=61469"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=61469"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=61469"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=61469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}