People

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

Last modified: December 8, 2025

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 DEPRECATED since 8.22.1

    • Deprecated: Use t2/post_featured_image/fallback instead
    • The old filter only worked on the frontend and did not apply in the backend (Gutenberg editor)
    • The new filter works consistently across both frontend and backend
    • Migration example:
    // Old way (deprecated):
    \add_filter( 't2/extensions/people/image_fallback', function( $html, $post ) {
        return '<img src="https://example.com/fallback.jpg" />';
    }, 10, 2 );
    
    // New way (recommended):
    \add_filter( 't2/post_featured_image/fallback', function( $media_fallback, $post_id, $post_type, $site_id ) {
        if ( 'person' === $post_type ) {
            return '<img src="https://example.com/fallback.jpg" />';
        }
        return $media_fallback;
    }, 10, 4 );

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