The best way is on the user profile page using the contact methods extension:
add_filter( 'user_contactmethods', 'more_contactmethods' );
function more_contactmethods( $contactmethods ) {
$contactmethods['twitter'] = 'Twitter username';
$contactmethods['facebook'] = 'Facebook URL';
return $contactmethods;
}
This adds fields to the user profile page for those social networks. You can have as many as you like, then you can use that data in a widget or via a template tag in the following way:
$twitter = get_usermeta( $user_id, 'twitter' );
Actually writing the widget or template tag is a separate question though.
Related Posts:
- Displaying additional User Contact Information
- How to keep sharing stats after creating 301 redirects?
- Individual Widgets per Page
- Having different sidebar content for MANY pages?
- Get custom field values into the sidebar/widget?
- custom field with total count of Facebook likes, comments and shares
- How do you create dynamic customised sections in WordPress?
- Creating a custom menu/widget area
- Creating a widget with a number of custom fields
- How to display image inside container of custom made widget
- Want to make A CSS if meta key value is empty
- how to display a widget only on a page where the custom field is defined?
- What’s the best way to implement custom widgets on a per post basis?
- Best Way to get facebook share count and update using wp_schedule_event or any other method
- No result update a custom field using wp_schedule_event
- Is there a way to dump all registered sidebar/widget?
- Display custom widget value in header.php
- Add custom data (field) to sidebar widgets for later display
- Custom field outside the loop and inside an array
- Register author, facebook connect, publish posts from front end
- WP_query returns error when used for custom widget
- Add class from custom field into widget class
- Running a Gallery Shortcode in a Custom Fields Widget
- How to Pull Out Twitter Summary Data in other areas of my template?
- I would like to display different text on different pages
- How to check if custom field exists in this widget query
- Add fields to edit in custom widget
- How to add an option to admin to add image that could be used as header?
- WP Query multiple select form – meta_query help
- wp_postmeta are updated for only one page
- update_post_meta not working in action hook
- My meta boxes update wp_postmeta of posts but not of pages. What is wrong with the code?
- Confusion on how to display custom field data
- how to show this part only in the single post page?
- Meta Box Data added to header redirect
- Edit different parts of a page seperately
- How to use page metadata while using wp_list_pages()?
- Validating custom meta boxes with jQuery results in posts being saved as draft instead of published post
- Custom Field: Display only if a specific key is selected outside the loop
- Custom field value link title
- How to Order Posts by Custom Fields?
- Show or hide lang=”ur” in main element
- How to use a custom field for search engine optimization
- How can I create more “create attachment” custom field – any idea?
- Copy url from post_content to custom field
- Fetch data from a WP page with same name as current username
- Getting content from custom fields of different pages on a single page
- Custom Fields – How can I remove the publish option for certain users
- Analyze uploaded images to get colour values
- Can i categorise my meta box?
- Turn Current Date in Custom Field Ouput Green or Red
- Help sorting by Meta Key value
- Change event firing in wordpress
- Custom classes for attachments
- How to overwrite a value for a custom field?
- query specific posts according their custom fields, using sql SELECT
- Filter CPT based on meta box value using Flexible Posts widget?
- WordPress archives by custom field and date
- Meta_query not filtering posts
- Using Hooks. Thematic
- Decouple page name from page title
- Adding thumbnails for non-image attachments
- Download stuff after filling fields?
- Show message if statement is false – foreach
- Custom Field add markup to line breaks
- Load code for custom fields only on admin pages?
- What method should I use for a sidebar widget that reads latest posts?
- Order by custom field in query multiple
- Returning website screenshot based on Custom Field
- WP Post Meta Box Field Not Showing Updated Field
- Custom field in a shortcode?
- WP_Query based on multiple metadata comparisons
- Metabox nonce not allowing update
- Get multiple posts with some custom fields efficient
- same custom field for single posts
- Get custom field from other post in carousel
- How to add a prefix to existing custom fields over MYSQL query?
- Form fields based on custom fields
- Import data from arbitrary CSV to WPAlchemy meta fields
- Complex WP_Query Using Post Date And Post Meta
- How to allow user to add to, but not edit, a post?
- Group pages by custom field values
- Post thumbnail size for custom field only
- Upload image to wordpress
- Display meta data from a custom field within plugin Category Grid View Gallery
- I want to add a custom field in the rss title of each post, but don’t want it to be shown on the site
- Custom metaboxes not saving after switching themes
- Custom Metaboxes, multiple post selection
- Checking if field is set before comparing with meta_query in query_posts?
- How to sort Custom Fields by a value
- Convert many posts from having a specific meta_key to use a post_format
- I want my post to republish again after adding a custom field
- Custom fields: my custom checkbox area doesn’t seem to work
- Calling a custom profile field only it it exists
- Custom fields: dropdown values depending on other custom field value
- RSS Feed in Custom Field
- Custom fields with square brackets in the name
- get_post_custom_values not working
- Custom fields driven site. I want to make a visual editor driven page template. How?
- How do i get a specific user metadata using custom metavalue outside of wordpress?