Simply paste the following function into your theme functions.php file. Lines 2, 3 and 4 are for removing unnecesseray items, and lines 5, 6 and 7 add news items. That's simple as that.
function extra_contact_info($contactmethods) { unset($contactmethods['aim']); unset($contactmethods['yim']); unset($contactmethods['jabber']); $contactmethods['facebook'] = 'Facebook'; $contactmethods['twitter'] = 'Twitter'; $contactmethods['linkedin'] = 'LinkedIn'; return $contactmethods;}add_filter('user_contactmethods', 'extra_contact_info');Advanced users would probably enjoy this class which allow you to manage user contact info easily.
Big thanks Thomas Griffin for the snippet!
View the original article here
This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.
0 comments:
Post a Comment