{"action":"created","issue":{"url":"https://api.github.com/repos/pods-framework/pods/issues/3604","repository_url":"https://api.github.com/repos/pods-framework/pods","labels_url":"https://api.github.com/repos/pods-framework/pods/issues/3604/labels{/name}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/3604/comments","events_url":"https://api.github.com/repos/pods-framework/pods/issues/3604/events","html_url":"https://github.com/pods-framework/pods/issues/3604","id":162273874,"number":3604,"title":"Pods template does not echo or display custom taxonomy defined as \"supported\"","user":{"login":"bustapaladin","id":19695825,"avatar_url":"https://avatars.githubusercontent.com/u/19695825?v=3","gravatar_id":"","url":"https://api.github.com/users/bustapaladin","html_url":"https://github.com/bustapaladin","followers_url":"https://api.github.com/users/bustapaladin/followers","following_url":"https://api.github.com/users/bustapaladin/following{/other_user}","gists_url":"https://api.github.com/users/bustapaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/bustapaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bustapaladin/subscriptions","organizations_url":"https://api.github.com/users/bustapaladin/orgs","repos_url":"https://api.github.com/users/bustapaladin/repos","events_url":"https://api.github.com/users/bustapaladin/events{/privacy}","received_events_url":"https://api.github.com/users/bustapaladin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-25T10:01:32Z","updated_at":"2016-06-25T13:52:29Z","closed_at":null,"body":"It supports them in the backend but does not display them in the template. Why? \r\n\r\nI created Profile Categories (categories) (categories)\r\n\r\nbut it will not show up, what should I do? \r\n\r\nI think something like this could work:\r\n\r\n`\r\nfunction display_member_taxonomy_terms($post_id){\r\n    \r\n    //get all terms assigned to this post\r\n    $member_terms = get_the_terms($post_id,'member'); \r\n    //if we have member terms assigned to this post\r\n    if($member_terms){\r\n        echo '<div class=\"member-terms-meta\">';\r\n        echo '<span class=\"term-title\"> Member Terms: </span>';\r\n        //loop through each term \r\n        foreach($member_terms as $term){\r\n            //collect term information and display it\r\n            $term_name = $term->name;\r\n            $term_link = get_term_link($term,'member'); \r\n            echo '<a href=\"' . $term_link . '\">'; \r\n                echo '<span class=\"term\">' . $term_name . '</span>';\r\n            echo '</a>';\r\n        }\r\n        echo '</div>';\r\n    }\r\n}\r\n`\r\n\r\nand then call it in the template php file or how it is called that handles the front end display. "},"comment":{"url":"https://api.github.com/repos/pods-framework/pods/issues/comments/228543199","html_url":"https://github.com/pods-framework/pods/issues/3604#issuecomment-228543199","issue_url":"https://api.github.com/repos/pods-framework/pods/issues/3604","id":228543199,"user":{"login":"bustapaladin","id":19695825,"avatar_url":"https://avatars.githubusercontent.com/u/19695825?v=3","gravatar_id":"","url":"https://api.github.com/users/bustapaladin","html_url":"https://github.com/bustapaladin","followers_url":"https://api.github.com/users/bustapaladin/followers","following_url":"https://api.github.com/users/bustapaladin/following{/other_user}","gists_url":"https://api.github.com/users/bustapaladin/gists{/gist_id}","starred_url":"https://api.github.com/users/bustapaladin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bustapaladin/subscriptions","organizations_url":"https://api.github.com/users/bustapaladin/orgs","repos_url":"https://api.github.com/users/bustapaladin/repos","events_url":"https://api.github.com/users/bustapaladin/events{/privacy}","received_events_url":"https://api.github.com/users/bustapaladin/received_events","type":"User","site_admin":false},"created_at":"2016-06-25T13:52:29Z","updated_at":"2016-06-25T13:52:29Z","body":"@jimtrue I indeed mean the pods admin template. As in it is not displayed in the entry-meta but I could get it there with some jquery. I got it to work so far to display below the entry meta:\r\n\r\nCalling it in the admin template:\r\n`<?php display_profile_cats_taxonomy_terms($post->ID); ?>\r\n`\r\n\r\n**The code:**\r\nhttps://gist.github.com/bustapaladin/9643ea27d3cf4be46a0e052916883077\r\n\r\n**demo:** https://cointrust.pw/profile/freeway/\r\n\r\nIt doesn't display well as you can see. No spacing between the categories or correct separator. "}}
{"actor":{"display_login":"bustapaladin"}}