Staff Lists

The staff shortcode is a quick way to automatically gather specific staff from the directory and display it on your site. Below are an explanation and demonstration of how to use the shortcode.

Code / Usage Example

Shortcode Example:

Code

[staff department="International Education" include="326"]
[staff department="International Education" exclude="326"]

Attributes

  • Staff Department: This fetches the staff from a specified department via the staff directory. https://sites.allegheny.edu/directory/
  • Include: This will fetch one specific staff member based on their id number. This can be found in the WordPress URL that corresponds to the staff member in the directory (ie https://sites.allegheny.edu/directory/wp-admin/post.php?post=345&action=edit). This can be used to help structure the staff site as desired.
  • Exclude: This will fetch every staff member except for the specified member based on the id given.
  • Style: There are two styles available. Default, where no style has to be specified, which creates a list of staff. Alt, where style must be specified (style=”alt”), which creates tiles that have information for each staff member.

Usage Example: Default

Lucinda Morgan

Director, International Education

lmorgan@allegheny.edu
(814) 332-4891

Full profile


Jennifer Kessner

Office Manager

jkessner@allegheny.edu
(814) 332-5318

Full profile

Lenee McCandless

Assistant Director, International Education

lmccandless@allegheny.edu
(814) 332-4891

Full profile

Usage Example: Alt

Jennifer Kessner

Office Manager

jkessner@allegheny.edu
(814) 332-5318

Full profile

Lenee McCandless

Assistant Director, International Education

lmccandless@allegheny.edu
(814) 332-4891

Full profile

Lucinda Morgan

Director, International Education

lmorgan@allegheny.edu
(814) 332-4891

Full profile