Skip to main content

example profile galleryOnce you have created profiles of your people, you’ll likely wish to present them as a group on your web site.  Some sites display all their people in one directory listing while others break them down into groups or “divisions.”  Some of the most popular divisions include: faculty, staff, administration, residents and researchers.  Other sites like to break their people into divisions that are specific to the department.  For example, the Department of Obstetrics and Gynecology uses divisions such as Family Planning, General Obstetrics and Gynecology, Global Women’s Health, Gynecologic Oncology, Maternal-Fetal Medicine, Midwives, etc.  The Lineberger Comprehensive Cancer Center displays their members by program: breast cancer, cell biology cancer, immunology, cancer prevention and control, etc.

You have three options when it comes to how your gallery of people are displayed: tabular view, single-column view and multi-column view.


Tabular View

Tabular view of a directory listing

To display a tabular listing of all the people profiles, simply copy the following shortcode and paste it into any page. The tabular view allows site visitors to sort the table by the various columns and provides a search box.

[upd_people_directory]

This will create a tabular view of everyone on your site.

Show Division Names on the Table View

To add a column that displays the division assigned to each person, use the shortcode attribute: show_division=”yes”
[upd_people_directory show_division="yes"]

How to Hide Phone Numbers and/or Emails in the Table View

To hide phone numbers or emails from the tabular view use the shortcode attributes: hide_phone=”yes” and hide_email=”yes”

[upd_people_directory hide_phone="yes" hide_email="yes"]


Single-Column View

To display a single column listing of profiles with photos, copy the following shortcode and paste it into any page.

[upd_people_directory displaytype="gallery"]

Limit the View to People From a Certain Division

People can be categorized into different divisions. To only show people from a certain division, use the shortcode attribute: divisions=””
[upd_people_directory divisions="faculty"]

Enter the slug of the division you wish to display. NOTE:  The “divisions” attribute must be the SLUG of a division, not the title.

Multiple divisions can be displayed together, simply separate the slugs with a comma.

[upd_people_directory divisions="pgy5,pgy4,pgy3,pgy2,pgy1"]

How to Find a Division Slug

  1. Select Directory > Divisions in the dashboard menu.
  2. The table on the Divisions page has a column that displays the slug name. Notice that the slug is not the same as a division’s title/name.

Display Pagination

By default, pagination is turned off on the gallery view.  You can enable it with the shortcode attribute: show_pagination=”true”. You will also want to add the attribute: items_per_page=”20″ to define how many profiles will display per page.

[upd_people_directory displaytype="gallery" divisions="faculty" show_pagination="true" items_per_page="20"]


Multi-Column View

To display a multi-column listing of profiles with photos, copy the following shortcode and paste it into any page.The layout will make as many columns as there is space available on the page.

[upd_people_directory displaytype="gallery" multi_column="true"]

Limit the View to People From a Certain Division

People can be categorized into different divisions. To only show people from a certain division, use the shortcode attribute: divisions=””
[upd_people_directory displaytype="gallery" multi_column="true" divisions="faculty"]

Enter the slug of the division you wish to display. NOTE:  The “divisions” attribute must be the SLUG of a division, not the title.

Multiple divisions can be displayed together, simply separate the slugs with a comma.

[upd_people_directory displaytype="gallery" multi_column="true" divisions="pgy5,pgy4,pgy3,pgy2,pgy1"]

How to Find a Division Slug

  1. Select Directory > Divisions in the dashboard menu.
  2. The table on the Divisions page has a column that displays the slug name. Notice that the slug is not the same as a division’s title/name.

Display Pagination

By default, pagination is turned off on the gallery view.  You can enable it with the shortcode attribute: show_pagination=”true”. You will also want to add the attribute: items_per_page=”20″ to define how many profiles will display per page.

[upd_people_directory displaytype="gallery" multi_column="true" divisions="faculty" show_pagination="true" items_per_page="20"]