/ Published in: PHP
                    
                                        
Here is one more field which you may want to add to use in Authors profile display and that is for gender. Gender info you can later use to write “His/He†or “Her/She†in general description. For this just add something like this in above mentioned code -
Code Example:
// Add Gender
$contactmethods['sex'] = 'Sex (male/female)';
                Code Example:
// Add Gender
$contactmethods['sex'] = 'Sex (male/female)';
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
function add_myExtra_ContactMethod( $contactmethods ) {
// Add Twitter
$contactmethods['twitter'] = 'Twitter';
// Add Facebook
$contactmethods['facebook'] = 'Facebook';
//Remove Jabber / Google Talk
return $contactmethods;
}
add_filter('user_contactmethods','add_myExtra_ContactMethod',10,1);
Comments
 Subscribe to comments
                    Subscribe to comments
                
                