/ Published in: PHP
In the User settings, there is a web form called Contact Info. It has input fields for the user’s AIM account, Yahoo IM account, and so on.
But how about Twitter? What about Facebook? Out of the box, the Contact Info panel doesn’t have these input fields.
If you have multiple users on your WordPress blog, you might want to add new fields and remove old ones.
But how about Twitter? What about Facebook? Out of the box, the Contact Info panel doesn’t have these input fields.
If you have multiple users on your WordPress blog, you might want to add new fields and remove old ones.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function new_contactmethods( $contactmethods ) { $contactmethods['twitter'] = 'Twitter'; // Add Twitter $contactmethods['facebook'] = 'Facebook'; // Add Facebook return $contactmethods; } add_filter('user_contactmethods','new_contactmethods',10,1);ne