How To Extend User Contact Info


Sponsored Links






WordPress 2.9 built with new ability to Extend User Contact Info, this tricks can be done by added some code on functions.php in your current theme. We can added many contact info, depend on your needed. To do extend user contact info, open the files and add this code

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

    return $contactmethods;
}
add_filter('user_contactmethods','my_new_contactmethods',10,1);
?>


And the result of this tricks will be like this,

This is only basic usage, you can made it more complicated depend on your creative minds ;)

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.

About WP Tricks

We are WordPress Family, we collected and writed useful tips and tricks for you WordPress. We share it for you...

Related Tips and Trick from Local Data and on The Net

How To Add Author’s Twitter and Facebook Info

Using WordPress, we can added new field to our author info more easily. Example we want to add Author’s Twitter and Facebook on the Author Profile. We only needed to added extra function and added to the WordPress Author Profile … Read More

How To Automatically add Twitter and Facebook buttons to your posts

How To Automatically add Twitter and Facebook buttons to your posts, this trick original created by Dev7Studios and I will share it again for you. Like on many many WP Tutorials that I was write on WP Tricks, you need … Read More

Show Data for Registered/Logged User only

With tiny step, we can display menu or messages for currently logged for registered user in WordPress. We only need added extra function and done. On this tricks we will give some example. If have wrote similar tricks but this … Read More

Tutorial Enable HTML markup in user profiles

User profiles in WordPress is the perfect ways to display our information, such as website, Yahoo Messenger and many more. You can add some description about yourself on WordPress Profiles too. The problem is, default WordPress Profiles descriptio

Add Facebook Share button on WordPress

Did you know that, there are so many ways to add Facebook Share button on WordPress, I will tried to coverage some of them. The first method is using standard facebook share button, or we can said it Faebook Sharer … Read More

How To Redirect User into Random Post

Like we all know, WordPress is powerful publishing platform. Now everywhere is WordPress, blogs, portal, e-commerce and many more running on WordPress. WordPress is amazing and multi user. Now we will show you how to redirect user into random post … Read More

How To Extend User Contact Info / WordPress Tricks & Tips

WordPress 2.9 built with new ability to Extend User Contact Info, this tricks can be done by added some code on functions.php in your current theme. read more

Source: http://wptricks.net/how-to-extend-user-contact-info/

Extend authentication user information

How is it possible to extend the user information by some additional fields (eg PreprocessQuery(string UserName, ref IQueryable query read more

Source: http://social.msdn.microsoft.com/Forums/en-US/lightswitchgeneral/thread/fa3eacc2-7900-4210-8741-691be29fc396

WordPress › Contact Info Options « WordPress Plugins

Add additional contact info fields to the user profile page and/or disable the instant messager fields. Download Version 1.0.3 read more

Source: http://wordpress.org/extend/plugins/contact-info-options/

Extending user profiles | drupal.org

Documentation; Download & Extend; Marketplace; About Working with user profile information. Extending user Allowing encrypted contact messages using public pgp keys. read more

Source: http://drupal.org/documentation/modules/profile

6 Essential Addon Utilities For Skype to Extend User Experience

Contact You are here: Home » Software » 6 Essential Addon Utilities For Skype to Extend User read more

Source: http://www.blogsolute.com/essential-skype-addond-utilities/19600/


5 Responses to How To Extend User Contact Info

  1. Nice tutorial, it doesn’t get much simpler than that now! The old script I used to do this was fairly short, but not as good as this, thanks! :D

  2. All of your tutorials are great. Cheers for taking the time to post them :)

  3. Very Nice!! This is what I’m looking for! Thanks!

  4. Donna Vitan says:

    Thanks for this. It’s a really simple way of adding new fields. Is there a way to also include a description span like “Usernames cannot be changed.”

    Thanks in advance.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>