Skip to content

Add Xing to Staff Social Profiles

Important

In Total vesion 6.8+ you can now manage the Staff social options under Staff > Settings > Social. Here you can choose exactly which social profiles are available as options for staff members.

// Add new staff social profiles
add_filter( 'wpex_staff_social_array', function( $profiles ) {
	$profiles['xing'] = array (
		'key'        => 'xing',
		'meta'       => 'wpex_staff_xing',
		'label'      => 'Xing',
	);
	return $profiles;
}, 40 );
All PHP snippets should be added via child theme's functions.php file or via a plugin.
We recommend Code Snippets (100% Free) or WPCode (sponsored)
Related Snippets
Back To Top