Profile Contact links


If you have social links in your profile you can use them as links

WordPress has removed these by default so you need to have filter or plugin to add them back

the link names are

  • AIM = aim
  • Yahoo IM = aim
  • Jabber / Google Talk =  jabber

default-boxes[1]

If you wish to add a different link location or remove on of the current link use code like this

This code is will as FaceBook and twitter field to the contact section

function edit_contactmethods( $contactmethods ) {
   $contactmethods['facebook'] = 'Facebook';
   $contactmethods['twitter'] = 'Twitter';

   return $contactmethods; 
}
add_filter( 'user_contactmethods','edit_contactmethods', 10, 1 );

Example that looks for facebook URL added with e code above and falls back to Last post if not found

[authoravatars user_link=facebook,last_post ]

To show them as links who can them using

user_contact_links is not setable via the wizard

[authoravatars user_contact_links=aim,yahho,facebook]

there is build in support for the following aim,facebook,skype,twitter,yim

You can add other and call them but the display may not be right. Yu can adjust the display with this filter ‘aa_user_contact_links_’ . $user_contact_type . ‘_template’ $user_contact_type is the name of the field you have added