/cranleigh-people

The Staff and People custom post type plugin used on the Cranleigh School Websites

Primary LanguagePHP

Cranleigh People

This is the plugin used by the Cranleigh websites. It creates the Staff Custom Post Type and staff group taxonomies. It also puts in the custom meta fields needed.

Server Requirements

  • Requires PHP ^7.2

Setup

By default, when you activate this plugin it only loads relevant widgets and shortcodes. If you want to install the full plugin with the custom post type, taxonomies, and auto complete staff roles, you'll need to visit the Settings page.

Shortcodes

[person_card]

Attributes

Attribute Notes Default Value
user The staff member's Cranleigh username null
type The type of card you want to display small
title Used if the type is house null

[card_list]

Attributes

Attribute Notes Default Value
people a comma separated list of Cranleigh Usernames null
type same as type for the [person_card]. small

Changelog

1.3.2

  • Added setting so that admins can now choose which blog it pulls data from, rather than assuming you want to do it from the default blog id

1.3.0

  • Cleanup
  • Using CranleighPeople PHP Namespaces
  • Functionality to allow Cranleigh AE to use as a stand alone plugin without the iSAMS sync

1.2.0

  • Working with Shortcode and Widget

1.0.0 "Bare Bones"

  • Initial Plugin Developed
  • No further instructions for scope

Developers

bump