// Remove staff settings metabox add_filter( 'wpex_main_metaboxes_post_types', function( $types ) { unset( $types['staff'] ); return $types; }, 40 ); //…
// Add new staff social profiles add_filter( 'wpex_staff_social_array', function( $profiles ) { $profiles['xing'] = array ( 'key' => 'xing', 'meta'…
add_filter( 'wpex_staff_social_array', function( $profiles ) { unset( $profiles['dribbble'] ); // Remove Dribble unset( $profiles['skype'] ); // Remove Skype return $profiles;…
By default the theme uses the title for the names of your staff members. However, if you need to sort…
// Alter the related staff posts query function myprefix_custom_related_staff_args( $args ) { // Change order from random to name $args['orderby']…
By default the staff position output is escaped for security so HTML won't work. If you need HTML for the…
function my_staff_tax_description_above_loop( $bool ) { if ( is_tax( 'staff_category' ) ) { return true; } return $bool; } add_filter( 'wpex_has_term_description_above_loop',…
The following snippet will show you how to add a custom block to your staff layout which you can enable…
// Add new staff social profiles add_filter( 'wpex_staff_social_array', function( $profiles ) { // Add instagram $profiles['instagram'] = array ( 'key'…