{"id":5667258,"date":"2015-01-13T16:42:56","date_gmt":"2015-01-13T16:42:56","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/showing-group-in-admin\/"},"modified":"2016-08-22T15:21:50","modified_gmt":"2016-08-22T15:21:50","slug":"showing-group-in-admin","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/showing-group-in-admin\/","title":{"rendered":"Showing Group in Admin"},"content":{"rendered":"<p>Hello. I really like your plugin and does everything I want it to do so far!<br \/>\nHowever, my client has asked if they can see the group name in a new column in the admin area. I&#8217;ve added it ok in the sorting page, but in the first admin page that just lists the staff, I can&#8217;t seem to display it! The code I have used goes like this:<\/p>\n<pre><code>add_filter( &quot;manage_staff-member_posts_columns&quot;, &quot;sslp_staff_member_custom_columns&quot; );\nfunction sslp_staff_member_custom_columns( $cols ) {\n\t$cols = array(\n\t\t&#039;cb&#039;\t\t\t\t  =&gt;     &#039;&lt;input type=&quot;checkbox&quot; \/&gt;&#039;,\n\t\t&#039;title&#039;\t\t\t\t  =&gt; __( &#039;Name&#039; ),\n\t\t&#039;photo&#039;\t\t\t\t  =&gt; __( &#039;Photo&#039; ),\n\t\t&#039;_staff_member_title&#039; =&gt; __( &#039;Position&#039; ),\n\t\t&#039;_staff_member_email&#039; =&gt; __( &#039;Email&#039; ),\n\t\t&#039;_staff_member_phone&#039; =&gt; __( &#039;Phone&#039; ),\n\t\t&#039;_staff_member_group&#039; =&gt; __( &#039;Group&#039; ),\n\t\t&#039;_staff_member_bio&#039;   =&gt; __( &#039;Bio&#039; ),\n\t);\n\treturn $cols;\n}<\/code><\/pre>\n<p>But of course I don;t think the &#8216;_staff_member_group&#8217; bit is correct!<\/p>\n<p>Could someone please advise how I can include this in the back end?<\/p>\n<p>Many thanks!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/simple-staff-list\/<\/p>\n","protected":false},"template":"","class_list":["post-5667258","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5667258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5667258\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5667258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}