How to Display Author’s Twitter and Facebook linkdin on the Profile Page

0
381

<?php
function my_new_contactmethods( $contactmethods ) {
// Add Twitter
$contactmethods[‘twitter’] = ‘Twitter’;
//add Facebook
$contactmethods[‘facebook’] = ‘Facebook’;

$contactmethods[‘linkdin’] = ‘Linkdin’;

return $contactmethods;
}
add_filter(‘user_contactmethods’,’my_new_contactmethods’,10,1);
?>