People

Registers a custom post type for managing info and displaying a nice grid of employees

Last modified: April 11, 2023

link Extension Name

t2/people

link Properties (t2.json)

link

features

link Extension Filters

  1. t2/extension/people/key_role
    Allows to override programmatically the extension role taxonomy key that is used to handle taxonomy registration (defaults to role)

  2. t2/extension/people/key_department
    Allows to override programmatically the extension department taxonomy key that is used to handle taxonomy registration (defaults to department)

  3. t2/extension/people/card_inner_blocks
    Allows to override programmatically the inner blocks rendered in the people card main info area

  4. t2/extensions/people/image_fallback
    Allows to override programmatically the people image fallback

link Extension Screenshots

Note: the cards icons are setup using the T2 icons, and these can be overriden from the theme.

Card - Default View Card - Extended View Edit View Edit View T2 Settings
Default view of people card View of extended people card People custom post type - edit view People custom post type - edit view Example of enabling the mobile and bio
By default, the card shows: featured image, post title, role taxonomy terms, department taxonomy terms, people_email post meta, people_phone post meta The people card can be configured to include additional info, in this view the card shows: featured image, post title, role taxonomy terms, department taxonomy terms, people_email post meta, people_phone post meta, people_mobile post meta, people_bio post meta People custom post type fields People custom post type fields Example of enabling the mobile and bio options in t2.json file