Translate it to ur language

Thursday, July 22, 2010

Adding Custom fields to Autor/ User profile

The code below will show you how to add additional twitter and facebook fields, but you can use it to add any other field that you like.

function my_new_contactmethods( $contactmethods ) {
// Add Twitter
$contactmethods['twitter'] = 'Twitter';
//add Facebook
$contactmethods['facebook'] = 'Facebook';

return $contactmethods;

No comments: