{"id":7940,"date":"2019-12-10T16:29:46","date_gmt":"2019-12-10T21:29:46","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=7940"},"modified":"2025-11-18T09:46:52","modified_gmt":"2025-11-18T14:46:52","slug":"divisions","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/old-people-directory\/divisions\/","title":{"rendered":"Use Divisions to Display a Group of People\/Profiles"},"content":{"rendered":"<p>Divisions allow you to tag or categorize profiles and then selectively display those group of profiles. This is key if you plan to organize or filter people by role, program, graduating class year, etc.<\/p>\n<h2>How to Create Divisions<\/h2>\n<p>There are two places where new divisions can be created:<\/p>\n<h3>While Editing a Profile<\/h3>\n<ol>\n<li>Go to the right sidebar widget called <strong>Divisions<\/strong>.<br \/>\n<span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8239\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions.png\" alt=\"\" width=\"325\" height=\"382\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions.png 592w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-255x300.png 255w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><\/span><\/li>\n<li>Click <strong>+ Add New Division<\/strong>, and enter the new division name.<\/li>\n<\/ol>\n<h3>On the Divisions Page<\/h3>\n<ol>\n<li>select <strong>Directory &gt; Divisions<\/strong> in the dashboard menu<br \/>\n<span class=\"imgBorderDark\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8240\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-300x154.png\" alt=\"\" width=\"600\" height=\"308\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-300x154.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-1024x525.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-768x394.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-1536x787.png 1536w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-2048x1050.png 2048w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-Adding-600x308.png 600w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/li>\n<li>Under the <strong>Add New Division<\/strong> heading, add a name to the <strong>Name<\/strong> field.<\/li>\n<li>Click the green, <strong>Add New Division<\/strong> button.<\/li>\n<\/ol>\n<h2>Assigning a Division To a Profile<\/h2>\n<p>Once you\u2019ve created a division, it will show up as an option on all profiles (you must be editing the profile to see these options).<\/p>\n<p>Multiple division can be assigned to a profile by selecting all the corresponding\u00a0 Division boxes.<\/p>\n<p><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8239\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions.png\" alt=\"\" width=\"250\" height=\"294\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions.png 592w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Divisions-255x300.png 255w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/span><\/p>\n<h2>Editing and Deleting Divisions<\/h2>\n<p>To edit or delete existing divisions, select <strong>Directory &gt; Divisions<\/strong> in the dashboard menu.<\/p>\n<p>Then select the division you wish to edit or delete.<\/p>\n<p>Deleting a division will not delete any profiles; it will just remove that division from any profile to which it had been assigned.<\/p>\n<h2>How To Create a Gallery For a Specific Division<\/h2>\n<p>Once you have created a Division and assigned that Division to some profiles, the next step is setting up the gallery that displays those profiles. As the <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/gallery\/\">Create A Gallery<\/a> page explains, you have three gallery layouts to choose from: tabular view, single-column view, and multi-column view.<\/p>\n<ol>\n<li>Choose the layout you wish to use and copy the corresponding code (that&#8217;s found on the <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/gallery\/\">Create a Gallery<\/a> page).<\/li>\n<li>Paste the code into the page where you wish to display the gallery.<\/li>\n<li>Add the attribute <code class=\"inline\">divisions=\"\"<\/code> to the code. Enter the <strong>slug<\/strong> of the Division you wish to display inside the quotes. <strong>NOTE: The divisions attribute must be the SLUG of a division, not the title.<\/strong>\u00a0See documentation below on how to find a division slug.<\/li>\n<\/ol>\n<p>Below is an example of a multi-column gallery that displays profiles from the faculty Division.<br \/>\n<code>[upd_people_directory displaytype=\"gallery\" multi_column=\"true\" divisions=\"faculty\"]<\/code><\/p>\n<p>Multiple divisions can be displayed together, simply separate the slugs with a comma, as shown below.<\/p>\n<p><code>[upd_people_directory displaytype=\"gallery\" divisions=\"pgy5,pgy4,pgy3,pgy2,pgy1\"]<\/code><\/p>\n<h3>How To Find a Division Slug<\/h3>\n<p>You will sometimes need the division slug when creating a gallery page. Adding a division&#8217;s slug to the gallery shortcode will limit the display to the profiles tagged with that Division.<\/p>\n<p>Select <strong>Directory &gt; Divisions<\/strong> in the dashboard menu.<\/p>\n<p>The table on the Divisions page has a column that displays the slug name.<\/p>\n<p><a href=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug.png\"><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8251\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug-300x149.png\" alt=\"Screenshot of WordPress dashboard showing where to find a Divisions slug.\" width=\"700\" height=\"348\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug-300x149.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug-1024x509.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug-768x381.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug-600x298.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/11\/Directory-Division-Slug.png 1200w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/span><\/a><\/p>\n<h2>Examples<\/h2>\n<h3>UNC Lineberger<\/h3>\n<p>UNC Lineberger uses a tabular display for their <a href=\"https:\/\/unclineberger.org\/directory\/\">global directory listing<\/a>.\u00a0 They also use divisions to selectively <a href=\"https:\/\/unclineberger.org\/members\/\">display people by program<\/a> (breast cancer, cancer cell biology, cancer epidemiology, cancer genetics, etc.).<\/p>\n<p><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8389\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-1024x1010.png\" alt=\"People directory sample for UNC Lineberger\" width=\"600\" height=\"592\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-1024x1010.png 1024w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-300x296.png 300w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-768x757.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-1536x1514.png 1536w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-2048x2019.png 2048w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-600x592.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-UNC-Lineberger-64x64.png 64w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<h3>Urology<\/h3>\n<p>Urology uses the divisions to <a href=\"https:\/\/www.med.unc.edu\/urology\/about-us\/residents\/\">display their residents by year<\/a>.<\/p>\n<p><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8390\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-758x1024.png\" alt=\"\" width=\"600\" height=\"810\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-758x1024.png 758w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-222x300.png 222w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-768x1037.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-1138x1536.png 1138w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-1517x2048.png 1517w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology-600x810.png 600w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2019\/12\/People-Directory-Urology.png 1714w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Urology also used divisions to display their faculty that work at each <a href=\"https:\/\/www.med.unc.edu\/urology\/locations\/unc-urology-nc-cancer-hospital\/\">office location<\/a>.<\/p>\n<p><a href=\"https:\/\/www.med.unc.edu\/urology\/locations\/unc-urology-nc-cancer-hospital\/\"><span class=\"imgBorderMed\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8425\" src=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-407x1024.png\" alt=\"Urology example 2\" width=\"600\" height=\"1510\" srcset=\"https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-407x1024.png 407w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-119x300.png 119w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-768x1933.png 768w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-610x1536.png 610w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-814x2048.png 814w, https:\/\/www.med.unc.edu\/webguide\/wp-content\/uploads\/sites\/419\/2020\/01\/People-Directory-Urology-2-e1578429142552-600x1510.png 600w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Divisions allow you to tag or categorize profiles and then selectively display those group of profiles. This is key if you plan to organize or filter people by role, program, graduating class year, etc. How to Create Divisions There are two places where new divisions can be created: While Editing a Profile Go to the &hellip; <a href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/people-directory\/old-people-directory\/divisions\/\" aria-label=\"Read more about Use Divisions to Display a Group of People\/Profiles\">Read more<\/a><\/p>\n","protected":false},"author":3206,"featured_media":0,"parent":13464,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-7940","page","type-page","status-publish","hentry","odd"],"acf":[],"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/3206"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=7940"}],"version-history":[{"count":0,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/7940\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/13464"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=7940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}