1. Documentation
  2. Plugins
  3. Our Team
  4. Tutorials

Change Our Team labels

Our Team lends itself to displaying team member profiles. With a little tweaking however, there’s no reason why you couldn’t use it to display person profiles for any occasion. For example, speakers at a conference. The following snippet will replace instances in the admin of ‘Our Team’ etc, with ‘Speakers.’

Adapt to suit your needs and enjoy the flexibility of Our Team!

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.

function our_team_speakers_labels( $args ) {
$labels['name'] = __( 'Speakers' );
$labels['add_new_item'] = sprintf( __( 'Add New %s' ), __( 'Speaker' ) );
$labels['add_new'] = _x( 'Add New', 'speaker' );
$labels['singular_name'] = _x( 'Speaker', 'post type singular name' );
$args['labels'] = $labels;
return $args;
}
add_filter( 'woothemes_our_team_post_type_args', 'our_team_speakers_labels' );

view raw

functions.php

hosted with ❤ by GitHub

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment