Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/washingtonstateuniversity/wsuwp-content-syndicate-people/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A WordPress plugin to retrieve and display people from people.wsu.edu.
Shortcode attributes
This plugin adds the following attributes to shortcodes registered with or extended from WSUWP Content Syndicate:
classification- Classification slug to retrieve people by.display_fields- A comma-separated list of fields to display for each profile. Defaults tophoto,name,title,office,email. Additional fields includedegree,address,phone,bio,bio-unit,bio-university, andwebsite.filters- A comma-separated list of filtering options. Allowed values includesearch,location,organization,classification,tag, andcategory. Thecategoryvalue combines terms from university categories and site categories. Labels for each filter option can be adjusted using the attributes below:category_filter_label- Defaults toFilter by category.classification_filter_label- Defaults toFilter by classification.location_filter_label- Defaults toFilter by location.organization_filter_label- Defaults toFilter by organization.search_filter_label- Defaults toType to search.tag_filter_label- Defaults toFilter by tag.
exclude_term_values- A comma-separated list of term values to exclude when filtering - uses the option value from the filter drop down to exclude a term.photo_size- Specify the size of the photo to display for each profile. Defaults tothumbnail. Other allowed values includemediumandlarge.link- Link a person's name and photo to their full profile. Works only when thehostattribute is being used.website_link_text- Link text to display for thewebsitefield when it is being output. Defaults toWebsite.nid- Displays an individual person associated with the given WSU Network ID.profile_page_url- (Legacy: see view profile) Link to dynamic profile page. Allows you to show profiles on your site instead of linking out.view_proflie- Show profile on pageheading_tag- HTML tag to use for the profile title. Defaults toh2.display_first- List of comma-separated nids to display first in order.
Example usage
Basic usage: [wsuwp_people count="10"].
Display only name, title, and phone: [wsupw_people display_fields="name,title,phone"].
Display single profile: [wsuwp_people output="profile" nid="-person-nid-here-"].
Dynamic profile pages
- Create a dynamic profile page
[wsuwp_people output="profile"].- Do not set the
nidattribute. - You can use the
biooptions indisplay_fieldsto choose a bio to display on the profiledisplay_fields="....,bio-unit". - Copy the URL to to this page.
- Do not set the
- Create a gallery/directory page using the
profile_page_urlandlinkattributes[wsuwp_people link="has-bio" profile_page_url="-copied-url-from-above"].
Releases
25 releases.
Tag
Published
1.5.1
latest
Jan 26, 2024 2 years ago
Jan 19, 2024 2 years ago
Jan 5, 2024 2 years ago
Sep 19, 2023 3 years ago
Sep 19, 2023 3 years ago
Sep 19, 2023 3 years ago
Jul 19, 2023 3 years ago
Jul 19, 2023 3 years ago
Jun 27, 2023 3 years ago
May 18, 2022 4 years ago
Apr 15, 2021 5 years ago
Jan 31, 2020 6 years ago
Oct 7, 2019 7 years ago
Aug 9, 2018 8 years ago
Jul 9, 2018 8 years ago
May 14, 2018 8 years ago
Mar 5, 2018 8 years ago
Feb 27, 2018 8 years ago
Feb 26, 2018 8 years ago
Dec 21, 2017 8 years ago
Dec 11, 2017 8 years ago
Oct 12, 2017 9 years ago
Sep 14, 2017 9 years ago
Sep 6, 2017 9 years ago
May 16, 2017 9 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.