Try instead
$user_contactmethods['work'] = __('I work for...');
and
<?php echo get_user_meta($current_user->ID,'work',true);?>
where the array index is 'work'
instead of 'I work for...'
, i.e. lowercase and without any spaces.
Related Posts:
- Is it safe to store a user setting you don’t want the user to ever modify as a user option?
- Extra profile field as select box?
- User Profile / Add Custom Fields
- Add description text under input field for new profile fields
- Saving custom profile fields
- BuddyPress – Hook to Update Custom Profile Fields [closed]
- Buddypress Add unserialized Profile Fields in Members Loop [closed]
- WordPress User Profile Upload – If page is saved file reset
- How to add field above password section in profile page
- How to show a gloabl message on a user profile page (in back end)?
- Excluding Specific Fields from Profile Builder Registration Form
- Custom Profile Fields move from BBpress to BuddyPress
- Display Custom Field for a Specific Role, but not for Admin
- Can’t save custom field on registration page
- Show image if author meta (profile fields) exists outside loop
- How can I create a profile field group that the user can’t see?
- How to parse a huge list of users using a CRON function?
- Display the output from Custom User Fields from a WordPress user profile on a WordPress Custom Page
- How to save multiple custom user profile fields using repeater JQuery
- want to add video upload option for front end user
- update_user_meta(): invisible data storage
- Register author, facebook connect, publish posts from front end
- Calling a custom profile field only it it exists
- how to add radio field on user meta on function.php?
- Is there a way to set default custom fields when creating a post?
- Pre-filling custom fields on New Post
- So much data in postmeta
- Show only posts which can be commented OR have custom meta field
- Make Custom Field Into A Link On The Front End?
- Show Custom Comment Fields when editing in admin
- How do I make a custom field choose an image?
- get_post_meta() unserialize issue – returns boolean(false)
- Why isn’t my code to save custom fields in quick edit working?
- Edit Custom Database Tables in WordPress
- How to oEmbed from custom field, responsive to container size and responsive
- Custom Meta Boxes: Store two values in one repeatable field
- Gutenberg Custom Block
- Up/Down voting system for WordPress
- Custom Meta Field not Working with qTranslate [closed]
- Change content before writing to database
- post meta data clearing on autosave
- Problem in custom meta boxes
- Loop through two different sets of custom fields
- Query Problem – Show posts within category ‘x’ that have a custom field between ‘y’ and ‘z’
- Metabox with multiple fields added by user and upload box
- Get Meta from Custom Field of Image URL
- How to sort category by custom field value
- Using a checklist to search against metadata
- Move value from one meta key to another
- Will loading too many ACF Fields cause slow down?
- Admin meta Image Path
- How to associate 2 custom fields together (date & price for instance)?
- Using PHP to read WordPress Posts
- Validate data on attachment_fields_to_save
- Extra option in editor
- Custom field not updating when value is empty
- Can’t get metabox value (a url) returned using WPAlchemy
- How to add custom metadata text box dropdown to sidebar in Gutenberg editor for all post types
- How to create a dropdown select of all items in an ACF field group
- Custom post meta field effect on the performance on the post
- Is it possible to create a post from an NextGen Gallery image?
- Getting Custom Fields from WordPress JSON API [closed]
- Add first url to custom field on publish_post
- Use meta_query to get title of associated post
- Limits, not all post are showen when querying for posts by view count
- get_post_meta() retrieves meta from a specific post on pages, not the page currently viewed
- Advanced Custom Fields WYSIWYG More tag
- How to make custom fields respect paragraph breaks
- WordPress set custom field to true, sets all others to false?
- modify wordpress custom field value – strip character if exists
- Sort posts by clicks on download button
- Pass PHP through redirect and custom fields
- MetaBox not saving after empty
- Showing Custom Fields on Parent Page
- Custom wpdb query – how to sort post by another table meta_count
- Show Custom Field of Current Page in For Loop
- Custom Field & Gravity Forms [closed]
- Redirect DRAFT Posts to a Custom URL (Custom Field) : Currently 404 Page
- Add a custom field to my custom post type and then get posts which are before the given date in the custom field
- Custom User Dashboard
- How to make menu country specific?
- SQL query to change the value of a Custom Field
- Custom meta POST request fired twice when updating a post in Gutenberg
- Adding fields to attachment – only shows when inserting new attachments
- Saving and using Custom Field in user settings/profile “Checkbox list”
- How do I use foreach to get content from a custom-field in multiple posts?
- Override edit_custom_walker.php to conditionally show input depending on menu position
- Copy url from post_content to custom field
- Change event firing in wordpress
- Custom search with meta fields
- Use custom field value as href
- Custom fields doesnt work well with any postTAB plugin
- Colecting values from custom field checkboxes and displaying them in the post
- Build Array from Input Fields question
- Custom field for image, not showing image!
- Grouped Custom Meta Fields without plugin
- Google not index my Custom 404 page ?why?
- Dynamically update Custom Fields to display new dates
- save all acf options in one meta_value [closed]
- Can running a WP-Cron to update_post_meta cause performance issues?